delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/04/09/10:46:05

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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: Fri, 9 Apr 2004 10:45:38 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: reentrant functions
Message-ID: <20040409144538.GA3029@coe>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <C1A7FA5F2793A94BA223673B8ADAF4A1C989D6 AT exchange DOT air2web DOT com>
Mime-Version: 1.0
In-Reply-To: <C1A7FA5F2793A94BA223673B8ADAF4A1C989D6@exchange.air2web.com>
User-Agent: Mutt/1.4.1i

On Fri, Apr 09, 2004 at 10:12:56AM -0400, Richard Campbell wrote:
>>For a reference of what is acceptable, you can use The Single Unix
>>Specification v3:
>>
>>http://www.opengroup.org/onlinepubs/007904975/toc.htm
>>
>
>All System Interfaces from that specification ending in "_r":
>
>[snip]
>rand_r
>[snip]
>
>>This reference would be adequate in determining what to include but,
>>if in doubt about something that seems like a useful function, then
>>double checking with linux should be adequate.
>
>All functions from libc ending in _r:
>http://www.gnu.org/software/libc/manual/html_node/Function-Index.html#Function%20Index
>
>[snip]
>rand_r
>[snip]
>
>List from Buzz of newlib _r functions where we're already exporting the 
>non _r version (remove leading _):
>_atoi_r
>[snip]
>_printf_r
>_read_r
>_realloc_r
>[snip]
>
>Intersection of (newlib _r listing where cygwin exports the non-_r
>version) and (the union of the opengroup and libc _r functions) (remove
>leading _):
>
>(null set)
>
>Unless I missed something, there was nothing there.

newlib does produce a 'rand_r' function, so Buzz's list is incomplete.

cgf

--
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