delorie.com/archives/browse.cgi | search |
Sender: | richdawe AT bigfoot DOT com |
Message-ID: | <3A368849.210F4953@bigfoot.com> |
Date: | Tue, 12 Dec 2000 20:19:21 +0000 |
From: | Richard Dawe <richdawe AT bigfoot DOT com> |
X-Mailer: | Mozilla 4.51 [en] (X11; I; Linux 2.2.17 i586) |
X-Accept-Language: | de,fr |
MIME-Version: | 1.0 |
To: | djgpp-workers AT delorie DOT com |
Subject: | Re: Locking fcntl changes #2 |
References: | <Pine DOT SUN DOT 3 DOT 91 DOT 1001212113000 DOT 24447N-100000 AT is> |
Reply-To: | djgpp-workers AT delorie DOT com |
Hello. Eli Zaretskii wrote: > Some systems return EAGAIN if the region is already locked. I'm not > sure what does the majority of systems do; could people please look on > the Unix and GNU/Linux boxes they have access to and tell what they > see in "man lockf"? SunOS 5.5.1 aka Solaris 2.5.1 returns EAGAIN. glibc 2.1.3 on RedHat 6.2 has lockf() in its headers - /usr/include/fcntl.h, /usr/include/unistd.h - but seemingly there's no description of lockf() in the man pages of info docs. Unix98 aka SUSv2 says that either EACCES or EAGAIN can be returned. This is all according to the documentation. I have not done any Real Life Tests, but I hope they conform to their docs. Bye, -- Richard Dawe [ mailto:richdawe AT bigfoot DOT com | http://www.bigfoot.com/~richdawe/ ]
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |