diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-11-15 19:57:52 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-11-15 19:57:52 +0000 |
commit | 577fcf2f377a44687e83b286ee88e4cbf5943fde (patch) | |
tree | cd63e36c36aa69c915cf334cf00eb49ca87209d4 /lib/libc/sys/shutdown.2 | |
parent | f7f2b7d1eead7023651e706ae944fb123704a8ff (diff) |
for shutdown(2), if "how" is not 0-2, return EINVAL
Diffstat (limited to 'lib/libc/sys/shutdown.2')
-rw-r--r-- | lib/libc/sys/shutdown.2 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/sys/shutdown.2 b/lib/libc/sys/shutdown.2 index 927e3bdf329..9a9b2351b3f 100644 --- a/lib/libc/sys/shutdown.2 +++ b/lib/libc/sys/shutdown.2 @@ -64,6 +64,9 @@ A 0 is returned if the call succeeds, -1 if it fails. .Sh ERRORS The call succeeds unless: .Bl -tag -width Er +.It Bq Er EINVAL +.Fa how +is not in the valid range of 0 - 2. .It Bq Er EBADF .Fa S is not a valid descriptor. |