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

Defined functions

sprintf defined in line 4; used 528 times
Last modified: 1981-07-10
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 907
Valid CSS Valid XHTML 1.0 Strict