Thread (1 message) 1 message, 1 author, 2012-08-16

[Bug 29362] flock: can return EAGAIN contrary to manpage

From: <hidden>
Date: 2012-08-16 06:40:49

https://bugzilla.kernel.org/show_bug.cgi?id=29362


Michael Kerrisk [off-list ref] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
         Resolution|                            |INVALID



--- Comment #1 from Michael Kerrisk <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>  2012-08-16 06:40:49 ---
EAGAIN has the same value as EWOULDBLOCK, which is documented in the man page.
flock() comes from BSD, where the EWOULDBLOCK error is documented.

strace() can't tell the difference between the symbolic names EAGAIN and
EWOULDBLOCK because it only knows about error numbers.

The errno(3) man page mentions that EGAIN and EWOULDBLOCK may have the same
value.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help