summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/stdio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/stdio.h b/include/stdio.h
index 1eb20be..1b1cd46 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -36,6 +36,7 @@ extern "C" {
36#undef snprintf 36#undef snprintf
37#undef sprintf 37#undef sprintf
38 38
39__access(write_only, 1, 2)
39_FORTIFY_FN(fgets) char *fgets(char *__s, int __n, FILE *__f) 40_FORTIFY_FN(fgets) char *fgets(char *__s, int __n, FILE *__f)
40{ 41{
41 size_t __b = __bos(__s, 0); 42 size_t __b = __bos(__s, 0);