Date: Wed, 13 Dec 2000 13:18:18 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Richard Dawe cc: djgpp-workers AT delorie DOT com Subject: Re: Locking fcntl changes #2 In-Reply-To: <3A368849.210F4953@bigfoot.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 12 Dec 2000, Richard Dawe wrote: > 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. Thanks for the footwork. I think EAGAIN is a better alternative.