1: /*	@(#)strout.c	2.1	SCCS id keyword	*/
   2: #include    <stdio.h>
   3: 
   4: _strout(string, count, adjust, file, fillch)
   5: register char *string;
   6: register count;
   7: int adjust;
   8: register struct _iobuf *file;
   9: {
  10:     while (adjust < 0) {
  11:         if (*string=='-' && fillch=='0') {
  12:             putc(*string++, file);
  13:             count--;
  14:         }
  15:         putc(fillch, file);
  16:         adjust++;
  17:     }
  18:     while (--count>=0)
  19:         putc(*string++, file);
  20:     while (adjust) {
  21:         putc(fillch, file);
  22:         adjust--;
  23:     }
  24: }

Defined functions

_strout defined in line 4; used 6 times
Last modified: 1981-07-10
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 579
Valid CSS Valid XHTML 1.0 Strict