Changeset 860 for vendor/current/lib/replace/snprintf.c
- Timestamp:
- May 12, 2014, 8:58:38 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/lib/replace/snprintf.c
r414 r860 1188 1188 } 1189 1189 1190 int vsnprintf (char *str, size_t count, const char *fmt, va_list args)1190 int rep_vsnprintf (char *str, size_t count, const char *fmt, va_list args) 1191 1191 { 1192 1192 return dopr(str, count, fmt, args); … … 1201 1201 */ 1202 1202 #if !defined(HAVE_SNPRINTF) || !defined(HAVE_C99_VSNPRINTF) 1203 int snprintf(char *str,size_t count,const char *fmt,...)1203 int rep_snprintf(char *str,size_t count,const char *fmt,...) 1204 1204 { 1205 1205 size_t ret; … … 1214 1214 1215 1215 #ifndef HAVE_C99_VSNPRINTF 1216 int printf(const char *fmt, ...)1216 int rep_printf(const char *fmt, ...) 1217 1217 { 1218 1218 va_list ap; … … 1235 1235 1236 1236 #ifndef HAVE_C99_VSNPRINTF 1237 int fprintf(FILE *stream, const char *fmt, ...)1237 int rep_fprintf(FILE *stream, const char *fmt, ...) 1238 1238 { 1239 1239 va_list ap; … … 1257 1257 #endif 1258 1258 1259 #if ndef HAVE_VASPRINTF1260 int vasprintf(char **ptr, const char *format, va_list ap)1259 #if !defined(HAVE_VASPRINTF) || !defined(HAVE_C99_VSNPRINTF) 1260 int rep_vasprintf(char **ptr, const char *format, va_list ap) 1261 1261 { 1262 1262 int ret; … … 1279 1279 #endif 1280 1280 1281 1282 #ifndef HAVE_ASPRINTF 1283 int asprintf(char **ptr, const char *format, ...) 1281 #if !defined(HAVE_ASPRINTF) || !defined(HAVE_C99_VSNPRINTF) 1282 int rep_asprintf(char **ptr, const char *format, ...) 1284 1283 { 1285 1284 va_list ap;
Note:
See TracChangeset
for help on using the changeset viewer.