diff options
| author | Joseph Koshy <jkoshy@FreeBSD.org> | 1998-09-06 08:50:49 +0000 |
|---|---|---|
| committer | Joseph Koshy <jkoshy@FreeBSD.org> | 1998-09-06 08:50:49 +0000 |
| commit | fe6894b6dcf8f0a73ed1a3802e23d48bea3dbc0d (patch) | |
| tree | a8da53a068dfb6f0cfb394f629868b4371af27da /lib/libc | |
| parent | e5d237d4b9985f39d48b8c3949bea4f835ea5416 (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -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 a1d5f7963cba..c22bb5b1e12e 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 |
