📄 vsprintf.c
字号:
#ifdef lintstatic char *sccsid = "@(#)vsprintf.c 4.1 (ULTRIX) 7/2/90";#endif lint/*LINTLIBRARY*/#include <stdio.h>#include <varargs.h>#define MAXINT 32767extern int _doprnt();intvsprintf(string, format, ap)char *string, *format;va_list ap;{ register int count; FILE siop; siop._cnt = MAXINT; siop._file = _NFILE; siop._flag = _IOWRT; siop._base = siop._ptr = string; count = _doprnt(format, ap, &siop); *siop._ptr = '\0'; /* plant terminating null character */ return(count);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -