cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Help on usinig Curl on vxwrks

From: Igor Novoseltsev <IgorN_at_radvision.com>
Date: Sun, 7 Jun 2009 10:55:53 +0300

> Could it happen that there's an open() kernel version and a user-land
> open() function each with different number of arguments?

I think we can safely use 3 argument calls.
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 */

> Which system header(s) declare the open() prototype(s)?

VxWorks documentation instructs to use ioLib.h.
Received on 2009-06-07