diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-07-11 19:21:09 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-07-11 19:21:09 +0000 |
commit | 99ee97d45654e8e634ace797279992b73e76a1c2 (patch) | |
tree | d9d6f3e7d28dc89e6a66e5725fa6a30c9373eb18 | |
parent | e4ab7020726696afce957d71a91142fb0080e437 (diff) |
Back out revision 1.3; we return EWOULDBLOCK on lock failure, not EAGAIN.
-rw-r--r-- | lib/libc/sys/open.2 | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2 index c6724865ba3..47a42d721ee 100644 --- a/lib/libc/sys/open.2 +++ b/lib/libc/sys/open.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: open.2,v 1.26 2002/04/30 16:31:42 mpech Exp $ +.\" $OpenBSD: open.2,v 1.27 2002/07/11 19:21:08 millert Exp $ .\" $NetBSD: open.2,v 1.8 1995/02/27 12:35:14 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -247,7 +247,7 @@ and one of .Dv O_SHLOCK or .Dv O_EXLOCK -is specified and the file is locked. +is specified and the file is already locked. .It Bq Er ENOSPC .Dv O_CREAT is specified, @@ -294,13 +294,6 @@ and were specified and the file exists. .It Bq Er EOPNOTSUPP An attempt was made to open a socket (not currently implemented). -.It Bq Er EAGAIN -.Dv O_NONBLOCK -and either -.Dv O_EXLOCK -or -.Dv O_SHLOCK -are set and the file is already locked. .El .Sh SEE ALSO .Xr chmod 2 , |