delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/12/13/06:21:12

Date: Wed, 13 Dec 2000 13:18:18 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Richard Dawe <richdawe AT bigfoot DOT com>
cc: djgpp-workers AT delorie DOT com
Subject: Re: Locking fcntl changes #2
In-Reply-To: <3A368849.210F4953@bigfoot.com>
Message-ID: <Pine.SUN.3.91.1001213131758.11254C-100000@is>
MIME-Version: 1.0
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

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019