diff options
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/stdio/ungetc.3 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/stdio/ungetc.3 b/lib/libc/stdio/ungetc.3 index 83483be..6d657a8 100644 --- a/lib/libc/stdio/ungetc.3 +++ b/lib/libc/stdio/ungetc.3 @@ -83,7 +83,10 @@ if the operation fails. If the value of the argument .Fa c character equals -.Dv EOF , +.Dv EOF +or current +.Fa stream +offset equals 0, the operation will fail and the stream will remain unchanged. .Sh SEE ALSO .Xr fseek 3 , |