|
|
1.1 ! root 1: ! 2: /*LINTLIBRARY*/ ! 3: #include <stdio.h> ! 4: ! 5: /*VARARGS2*/ ! 6: char * ! 7: sprintf(str, fmt, args) ! 8: char *str, *fmt; ! 9: { ! 10: struct _iobuf _strbuf; ! 11: ! 12: _strbuf._flag = _IOWRT+_IOSTRG; ! 13: _strbuf._ptr = (unsigned char *)str; ! 14: _strbuf._cnt = 0x7fffffff; ! 15: _doprnt(fmt, &args, &_strbuf); ! 16: putc('\0', &_strbuf); ! 17: return(str); ! 18: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.