delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/26/05:10:03

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 26 Aug 2004 11:09:50 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: F_ULOCK, F_LOCK, F_TLOCK, F_TEST missing in unistd.h
Message-ID: <20040826090950.GZ27978@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4215658170 DOT 20040826103850 AT familiehaase DOT de>
Mime-Version: 1.0
In-Reply-To: <4215658170.20040826103850@familiehaase.de>
User-Agent: Mutt/1.4.2i

On Aug 26 10:38, Gerrit P. Haase wrote:
> Hello,
> 
> The SUS says these flags belong in unistd.h:
> 
> #define F_ULOCK 0       /* Unlock a previously locked region */
> #define F_LOCK  1       /* Lock a region for exclusive use */
> #define F_TLOCK 2       /* Test and lock a region for exclusive use */
> #define F_TEST  3       /* Test a region for other processes locks */
> 
> Could this be added?

First of all, this is an newlib issue since unistd.h is defined there.
However, IMHO that doesn't make much sense, as long as the lockf function
and its prototype is missing as well.  What do you need these defines
for w/o having lockf?

Hey, are you going to implement lockf for Cygwin?  :-)


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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