분류 전체보기683 VFSCANF int VFSCANF(FILE *fp, const char *fmt0, __va_list ap) #include #include #include #include #include #include #include "local.h" #ifdef FLOATING_POINT #include "floatio.h" #endif #defineBUF513/* Maximum length of numeric string. */ /* * Flags used during conversion. */ #defineLONG0x00001/* l: long or double */ #defineLONGDBL0x00002/* L: long double; unimplemented */ #defineSHORT0x00004/* h: short .. 2016. 7. 9. vprintf int vprintf(const char *fmt, __va_list ap) #include int vprintf(const char *fmt, __va_list ap) { return (vfprintf(stdout, fmt, ap)); } 2016. 7. 9. vscanf int vscanf(const char *fmt, __va_list ap) #include int vscanf(const char *fmt, __va_list ap) { return (vfscanf(stdin, fmt, ap)); } 2016. 7. 9. vsnprintf int vsnprintf(char *str, size_t n, const char *fmt, __va_list ap) #include #include #include #include "local.h" int vsnprintf(char *str, size_t n, const char *fmt, __va_list ap) { int ret; char dummy; FILE f; struct __sfileext fext; _FILEEXT_SETUP(&f, &fext); /* While snprintf(3) specifies size_t stdio uses an int internally */ if (n > INT_MAX) n = INT_MAX; /* Stdio internals do not deal correct.. 2016. 7. 9. 이전 1 ··· 144 145 146 147 148 149 150 ··· 171 다음