diff options
author | jkoshy <jkoshy@FreeBSD.org> | 1998-09-06 08:50:49 +0000 |
---|---|---|
committer | jkoshy <jkoshy@FreeBSD.org> | 1998-09-06 08:50:49 +0000 |
commit | 83329c27b739f7f2e5af9f66f5852d72a0a8b6a3 (patch) | |
tree | 922cfabe2b2a9c52692087d3e11e9b9e8544f52c /lib | |
parent | 50b8aa03a9d963c07935eb4d213d3d2c752f6231 (diff) | |
download | FreeBSD-src-83329c27b739f7f2e5af9f66f5852d72a0a8b6a3.zip FreeBSD-src-83329c27b739f7f2e5af9f66f5852d72a0a8b6a3.tar.gz |
Use a varargs style prototype in the manual page, with accompanying
explanation in the text.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/ioctl.2 | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/lib/libc/sys/ioctl.2 b/lib/libc/sys/ioctl.2 index a1d5f79..c22bb5b 100644 --- a/lib/libc/sys/ioctl.2 +++ b/lib/libc/sys/ioctl.2 @@ -40,7 +40,7 @@ .Sh SYNOPSIS .Fd #include <sys/ioctl.h> .Ft int -.Fn ioctl "int d" "unsigned long request" "char *argp" +.Fn ioctl "int d" "unsigned long request" "..." .Sh DESCRIPTION The .Fn ioctl @@ -54,6 +54,19 @@ The argument .Fa d must be an open file descriptor. .Pp +The third argument to +.Nm +is traditionally named +.Ar "char *argp" . +Most uses of +.Nm +in +.Fx 3.0 +however, require the third argument to be a +.Ar caddr_t +or an +.Ar int . +.Pp An ioctl .Fa request has encoded in it whether the argument is an |