Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/sys See the incredible, morphing, fcntl(2) paramete...
details: https://anonhg.NetBSD.org/src/rev/658ff0175f8f
branches: trunk
changeset: 473207:658ff0175f8f
user: ross <ross%NetBSD.org@localhost>
date: Mon May 24 23:06:00 1999 +0000
description:
See the incredible, morphing, fcntl(2) parameter #3 change again!
This time, it actually matches the prototype and the 1003.1 definition.
diffstat:
lib/libc/sys/fcntl.2 | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (32 lines):
diff -r bcbc4a5d5433 -r 658ff0175f8f lib/libc/sys/fcntl.2
--- a/lib/libc/sys/fcntl.2 Mon May 24 23:01:13 1999 +0000
+++ b/lib/libc/sys/fcntl.2 Mon May 24 23:06:00 1999 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: fcntl.2,v 1.16 1999/03/25 18:37:06 perry Exp $
+.\" $NetBSD: fcntl.2,v 1.17 1999/05/24 23:06:00 ross Exp $
.\"
.\" Copyright (c) 1983, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -42,7 +42,7 @@
.Sh SYNOPSIS
.Fd #include <fcntl.h>
.Ft int
-.Fn fcntl "int fd" "int cmd" "void *arg"
+.Fn fcntl "int fd" "int cmd" "..."
.Sh DESCRIPTION
.Fn fcntl
provides for control over descriptors.
@@ -51,10 +51,10 @@
is a descriptor to be operated on by
.Fa cmd
as described below.
-The argument
+The third parameter is called
.Fa arg
-is technically a pointer to void and is usually interpreted as such,
-but it is also interpreted as an int by some commands and ignored by others.
+and is technically a pointer to void, but it is
+interpreted as an int by some commands and ignored by others.
.Pp
Commands are:
.Bl -tag -width F_GETOWNX
Home |
Main Index |
Thread Index |
Old Index