ssize_t getdelim(char ** __restrict, size_t * __restrict, int,
FILE * __restrict);
int renameat(int, const char *, int, const char *);
-int vdprintf(int, const char * __restrict, __va_list);
+int vdprintf(int, const char * __restrict, __va_list) __printflike(2, 0);
FILE *fmemopen(void *__restrict, size_t, const char *__restrict);
FILE *open_memstream(char **, size_t *);
#endif
#ifdef _WITH_DPRINTF
-int dprintf(int, const char * __restrict, ...);
+int dprintf(int, const char * __restrict, ...) __printflike(2, 3);
#endif
#endif /* __BSD_VISIBLE || __POSIX_VISIBLE >= 200809 */