1: #if defined(LIBC_SCCS) && !defined(lint)
   2: static char sccsid[] = "@(#)strout.c	5.2 (Berkeley) 3/9/86";
   3: #endif LIBC_SCCS and not lint
   4: 
   5: #include    <stdio.h>
   6: 
   7: _strout(count, string, adjust, file, fillch)
   8: register char *string;
   9: register count;
  10: int adjust;
  11: register FILE *file;
  12: {
  13:     while (adjust < 0) {
  14:         if (*string=='-' && fillch=='0') {
  15:             putc(*string++, file);
  16:             count--;
  17:         }
  18:         putc(fillch, file);
  19:         adjust++;
  20:     }
  21:     while (--count>=0)
  22:         putc(*string++, file);
  23:     while (adjust) {
  24:         putc(fillch, file);
  25:         adjust--;
  26:     }
  27: }

Defined functions

_strout defined in line 7; never used

Defined variables

sccsid defined in line 2; never used
Last modified: 1986-03-10
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 461
Valid CSS Valid XHTML 1.0 Strict