summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2023-05-18 20:53:14 +0200
committerAlejandro Colomar <alx@kernel.org>2023-05-18 20:53:14 +0200
commitcd03c9b8d1f4d43ab7b010d02287dec1805ada34 (patch)
tree653344b775bd865b1a884f85a480368c94636e61
parent4857d7dc1720d1af75da7e7ff1636e824dce46fb (diff)
fflush.3, unlocked_stdio.3: SYNOPSIS: The streams can be null
Cc: Xi Ruoyao <xry111@xry111.site> Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man3/fflush.32
-rw-r--r--man3/unlocked_stdio.32
2 files changed, 2 insertions, 2 deletions
diff --git a/man3/fflush.3 b/man3/fflush.3
index 327786cef..2098bba08 100644
--- a/man3/fflush.3
+++ b/man3/fflush.3
@@ -25,7 +25,7 @@ Standard C library
.nf
.B #include <stdio.h>
.PP
-.BI "int fflush(FILE *" stream );
+.BI "int fflush(FILE *_Nullable " stream );
.fi
.SH DESCRIPTION
For output streams,
diff --git a/man3/unlocked_stdio.3 b/man3/unlocked_stdio.3
index faab29f06..feed708db 100644
--- a/man3/unlocked_stdio.3
+++ b/man3/unlocked_stdio.3
@@ -23,7 +23,7 @@ Standard C library
.BI "int feof_unlocked(FILE *" stream );
.BI "int ferror_unlocked(FILE *" stream );
.BI "int fileno_unlocked(FILE *" stream );
-.BI "int fflush_unlocked(FILE *" stream );
+.BI "int fflush_unlocked(FILE *_Nullable " stream );
.PP
.BI "int fgetc_unlocked(FILE *" stream );
.BI "int fputc_unlocked(int " c ", FILE *" stream );