using syscall in cygwin?

Christopher Faylor cgf-rcm@cygwin.com
Sat May 24 18:47:00 GMT 2003


On Sat, May 24, 2003 at 08:38:51PM +0800, Liu wrote:
>Hi, all
>
>Is it possible to compile the code using syscall in
>Cygwin like this:
>
>rc = syscall(SYS_open, filename, O_CREAT);

No.

>Where is SYS_open etc declared? I can't find it.

That's because it doesn't exist.
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to aaaspam@sourceware.org
and be permanently blocked from mailing lists at sources.redhat.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list