summaryrefslogtreecommitdiff
path: root/lib/libc/gen/setmode.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/setmode.3')
-rw-r--r--lib/libc/gen/setmode.37
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libc/gen/setmode.3 b/lib/libc/gen/setmode.3
index eac3d423bda..bcca49c5118 100644
--- a/lib/libc/gen/setmode.3
+++ b/lib/libc/gen/setmode.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: setmode.3,v 1.9 2003/06/02 20:18:34 millert Exp $
+.\" $OpenBSD: setmode.3,v 1.10 2004/07/02 13:58:06 otto Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -88,7 +88,10 @@ The
function may fail and set
.Va errno
for any of the errors specified for the library routine
-.Xr malloc 3 .
+.Xr malloc 3
+or to
+.Er ERANGE
+if an invalid octal value was specified.
.Sh SEE ALSO
.Xr chmod 1 ,
.Xr stat 2 ,