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

Defined functions

_strout defined in line 3; used 3 times
Last modified: 1979-01-10
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 415
Valid CSS Valid XHTML 1.0 Strict