Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/gen - setmode() can fail on strtol(3); note this.
details: https://anonhg.NetBSD.org/src/rev/fe9c15ac27b4
branches: trunk
changeset: 580969:fe9c15ac27b4
user: peter <peter%NetBSD.org@localhost>
date: Tue May 17 21:54:06 2005 +0000
description:
- setmode() can fail on strtol(3); note this.
- Use .Va for errno.
diffstat:
lib/libc/gen/setmode.3 | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diffs (25 lines):
diff -r 9437e3fd679e -r fe9c15ac27b4 lib/libc/gen/setmode.3
--- a/lib/libc/gen/setmode.3 Tue May 17 21:45:24 2005 +0000
+++ b/lib/libc/gen/setmode.3 Tue May 17 21:54:06 2005 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: setmode.3,v 1.15 2003/08/07 16:42:56 agc Exp $
+.\" $NetBSD: setmode.3,v 1.16 2005/05/17 21:54:06 peter Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -89,9 +89,12 @@
The
.Fn setmode
function
-may fail and set errno for any of the errors specified for the library
-routine
-.Xr malloc 3 .
+may fail and set
+.Va errno
+for any of the errors specified for the library routines
+.Xr malloc 3
+or
+.Xr strtol 3 .
.Sh SEE ALSO
.Xr chmod 1 ,
.Xr stat 2 ,
Home |
Main Index |
Thread Index |
Old Index