summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2001-08-31 20:03:49 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2001-08-31 20:03:49 +0000
commit711b11769d1ded39d6f4ae60400ea6e1539aeb30 (patch)
tree979fe2f88531d0d3c9938d00dd630a2d74284337 /lib/libc
parent7a7a162ba66ac6a1d59d7f2ca131d078ab961a54 (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdio/ungetc.35
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/stdio/ungetc.3 b/lib/libc/stdio/ungetc.3
index 83483be04ffb..6d657a81ac5e 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 ,