[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

flock, FAGAIN, and FWOULDBLOCK



Hi,

according to the flock(2) man page, flock should return EWOULDBLOCK 
when a file is locked and the LOCK_NB flag was selected. But on hppa, 
it seems to return EAGAIN which is not the same. Where is the bug 
here? In the kernel, glibc, or manpages-dev?

This causes problems in apr since it only checks for EWOULDBLOCK.

Cheers,
Stefan


Reply to: