delorie.com/archives/browse.cgi | search |
On Tue, 04 Jan 2005 16:58:06 -0700, Brian Inglis <Brian DOT Inglis AT SystematicSW DOT ab DOT ca> wrote: >On Sun, 02 Jan 2005 00:54:57 +0200, Eli Zaretskii <eliz AT gnu DOT org> >wrote: > >>> Date: Sat, 01 Jan 2005 12:17:08 -0700 >>> From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca> >>> >>> On Sat, 01 Jan 2005 13:28:52 -0500, DJ Delorie <dj AT delorie DOT com> wrote: >>> >>> > >>> >> So as these are POSIX functions, I should stub them outside the >>> > >>> >Just follow the pattern in the file already. There's only two lists >>> >of functions. >>> >>> There are only two cases currently catered for: non-ISO and non-ISO >>> and non-POSIX. >>> These are non-ISO POSIX standard functions: they should be defined >>> when _POSIX_SOURCE is defined. >> >>As are all other Posix functions that are not ANSI/ISO. >> >>The functions whose prototypes are between #ifndef __STRICT_ANSI__ and >>#ifndef _POSIX_SOURCE are Posix functions. > >Okay, that makes sense, and was where I thought the *_r functions >should appear. What confused me was both POSIX functions and DJGPP functions appear in libc/stubs.h after both #ifndef __STRICT_ANSI__ and _POSIX_SOURCE. That does not appear to me to be correct. Could someone else please take a look and give an opinion: maybe I'm just not getting something else about the way these stub entries should work in the library build environment? -- Thanks. Take care, Brian Inglis
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |