This is the mail archive of the
mailing list for the Cygwin project.
Re: using syscall in cygwin?
Thank you for your response.
I just want to write code using my own open().
How can I implement open() without syscall() to make the system call?
Maybe I need also write my own syscall() which call glibc's open(), and
link them staticly?
Is it reasonable?
Christopher Faylor wrote:
On Sat, May 24, 2003 at 08:38:51PM +0800, Liu wrote:
Is it possible to compile the code using syscall in
Cygwin like this:
rc = syscall(SYS_open, filename, O_CREAT);
Where is SYS_open etc declared? I can't find it.
That's because it doesn't exist.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html