Annotation of 3BSD/libc/stdio/strout.c, revision 1.1.1.1

1.1       root        1: #include       <stdio.h>
                      2: 
                      3: _strout(count, string, 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: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.