Browse Source

Add support for POSIX.1-2008 functions dprintf(3) and vdprintf(3).

Feedback from millert@ guenther@
OK guenther@ man page bits OK jmc@
OPENBSD_5_3
brad 11 years ago
parent
commit
75abb31084
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      src/include/stdio.h

+ 7
- 1
src/include/stdio.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: stdio.h,v 1.42 2012/03/21 23:44:35 fgsch Exp $ */
/* $OpenBSD: stdio.h,v 1.43 2013/01/30 00:08:13 brad Exp $ */
/* $NetBSD: stdio.h,v 1.18 1996/04/25 18:29:21 jtc Exp $ */ /* $NetBSD: stdio.h,v 1.18 1996/04/25 18:29:21 jtc Exp $ */
/*- /*-
@ -212,6 +212,9 @@ __END_DECLS
*/ */
__BEGIN_DECLS __BEGIN_DECLS
void clearerr(FILE *); void clearerr(FILE *);
#if __POSIX_VISIBLE >= 200809
int dprintf(int, const char * __restrict, ...);
#endif
int fclose(FILE *); int fclose(FILE *);
int feof(FILE *); int feof(FILE *);
int ferror(FILE *); int ferror(FILE *);
@ -272,6 +275,9 @@ int ungetc(int, FILE *);
int vfprintf(FILE *, const char *, __va_list); int vfprintf(FILE *, const char *, __va_list);
int vprintf(const char *, __va_list); int vprintf(const char *, __va_list);
int vsprintf(char *, const char *, __va_list); int vsprintf(char *, const char *, __va_list);
#if __POSIX_VISIBLE >= 200809
int vdprintf(int, const char * __restrict, __va_list);
#endif
#if __ISO_C_VISIBLE >= 1999 || __BSD_VISIBLE #if __ISO_C_VISIBLE >= 1999 || __BSD_VISIBLE
int snprintf(char *, size_t, const char *, ...) int snprintf(char *, size_t, const char *, ...)


Loading…
Cancel
Save