Re: [pcre-dev] about the posix API depend by PCRE

Startseite
Nachricht löschen
Autor: ph10
Datum:  
To: ltree2003
CC: pcre-dev
Betreff: Re: [pcre-dev] about the posix API depend by PCRE
On Wed, 28 Aug 2013, ltree2003 wrote:

> I want to port PCRE to one private OS.
> I know PCRE depend on posix APIs.


No, it does not. PCRE has its own API. There is a POSIX wrapper that
allows applications to call PCRE via a POSIX API, but this does not
provide all the functionality of PCRE.

> However, my private OS doesn't support POSIX. I plan to implement a
> posix layer on my system.
>
> So, Could you please tell me where can I find the list of posix APIs been depended by PCRE?
> Then I can only care about them instead of whole posix.


I think perhaps you are asking for what system calls PCRE uses
internally. There is no list of these, but the PCRE C library should use
only functions that are defined as part of the C standard. PCRE should
work on any system that has a standard C compiler and a standard C
library. See the NON-AUTOTOOLS-BUILD file in the PCRE distribution.

--
Philip Hazel