cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Help on usinig Curl on vxwrks

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 7 Jun 2009 14:58:31 +0200 (CEST)

On Sun, 7 Jun 2009, Igor Novoseltsev wrote:

> Please find below declaration of the open() as it is appear in ioLib.h.
>
> #ifdef _WRS_KERNEL
> ..
> extern int open (const char *, int, int);
> ..
> #else
> ..
> extern int open (const char *, int, ...);
> ..
> #endif /* _WRS_KERNEL */

Doesn't _WRS_KERNEL imply that you're building something as part of the
kernel? And most likely libcurl is not part of that?

Then why doesn't the 2-arg version work just fine?

-- 
  / daniel.haxx.se
Received on 2009-06-07