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" { #undef snprintf #undef sprintf +__access(write_only, 1, 2) _FORTIFY_FN(fgets) char *fgets(char *__s, int __n, FILE *__f) { size_t __b = __bos(__s, 0);