cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: removal of POSIX

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 17 Aug 2014 00:04:13 +0200 (CEST)

On Fri, 15 Aug 2014, Jon Torrey wrote:

> This question is fairly simple and may be redundant, but is there any way
> to strip libCURL of all POSIX functionality?

None provided, no.

> I have been working on the porting of libCURL to my system and have gotten
> it to compile and link successfully, but during runtime I am getting access
> denied errors on system calls of more specifically sigaction and other
> signal functions. My system does in fact contain the signal.h file and does
> support POSIX but I desire no use of the POSIX library. These errors happen
> when attempting to make requests to the outside world and with that said, my
> system uses the tcpip stack and the associated .c files. Any feedback would
> be helpful.

The easiest way is probably to provide stub implementations for those
functions that returns a correct return code but do nothing.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-08-17