aboutsummaryrefslogtreecommitdiff
path: root/include/stdio.h
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-10-19 13:54:17 +0300
committerCem Keylan <cem@ckyln.com>2020-10-19 13:54:17 +0300
commit54d853eaccae1f4f2e04ae70d79e34cfef86bf67 (patch)
tree382a3fb42d425a0c373b90c85da57d60fed8110c /include/stdio.h
parent41978314f8e2d1e9b62cfa207db1bdd371133c62 (diff)
downloadotools-54d853eaccae1f4f2e04ae70d79e34cfef86bf67.tar.gz
include: update to 6.8
Diffstat (limited to 'include/stdio.h')
-rw-r--r--include/stdio.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/include/stdio.h b/include/stdio.h
index 3f39a21..ffb49fb 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: stdio.h,v 1.53 2016/09/09 18:12:37 millert Exp $ */
+/* $OpenBSD: stdio.h,v 1.54 2020/09/11 17:56:41 naddy Exp $ */
/* $NetBSD: stdio.h,v 1.18 1996/04/25 18:29:21 jtc Exp $ */
/*-
@@ -204,7 +204,9 @@ __END_DECLS
__BEGIN_DECLS
void clearerr(FILE *);
#if __POSIX_VISIBLE >= 200809
-int dprintf(int, const char * __restrict, ...);
+int dprintf(int, const char * __restrict, ...)
+ __attribute__((__format__ (printf, 2, 3)))
+ __attribute__((__nonnull__ (2)));
#endif
int fclose(FILE *);
int feof(FILE *);
@@ -266,7 +268,9 @@ int vfprintf(FILE *, const char *, __va_list);
int vprintf(const char *, __va_list);
int vsprintf(char *, const char *, __va_list);
#if __POSIX_VISIBLE >= 200809
-int vdprintf(int, const char * __restrict, __va_list);
+int vdprintf(int, const char * __restrict, __va_list)
+ __attribute__((__format__ (printf, 2, 0)))
+ __attribute__((__nonnull__ (2)));
#endif
#if __ISO_C_VISIBLE >= 1999 || __XPG_VISIBLE >= 500 || __BSD_VISIBLE