summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libc/gen/uname.311
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/libc/gen/uname.3 b/lib/libc/gen/uname.3
index d42ad097201..a7d6689221a 100644
--- a/lib/libc/gen/uname.3
+++ b/lib/libc/gen/uname.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: uname.3,v 1.12 2007/05/31 19:19:29 jmc Exp $
+.\" $OpenBSD: uname.3,v 1.13 2011/04/19 22:19:46 schwarze Exp $
.\"
.\" Copyright (c) 1994
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: April 19 2011 $
.Dt UNAME 3
.Os
.Sh NAME
@@ -63,11 +63,12 @@ Version level of the operating system.
Machine hardware platform.
.El
.Sh RETURN VALUES
-If
+The
.Fn uname
-is successful, 0 is returned; otherwise, \-1 is returned and
+function returns a non-negative value if successful;
+otherwise the value -1 is returned and the global variable
.Va errno
-is set appropriately.
+is set to indicate the error.
.Sh ERRORS
The
.Fn uname