Annotation of 41BSD/libc/stdio/sprintf.c, revision 1.1.1.1

1.1       root        1: #include       <stdio.h>
                      2: 
                      3: char *sprintf(str, fmt, args)
                      4: char *str, *fmt;
                      5: {
                      6:        struct _iobuf _strbuf;
                      7: 
                      8:        _strbuf._flag = _IOWRT+_IOSTRG;
                      9:        _strbuf._ptr = str;
                     10:        _strbuf._cnt = 32767;
                     11:        _doprnt(fmt, &args, &_strbuf);
                     12:        putc('\0', &_strbuf);
                     13:        return(str);
                     14: }

unix.superglobalmegacorp.com

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