using syscall in cygwin?

Corinna Vinschen corinna-cygwin@cygwin.com
Sun May 25 11:29:00 GMT 2003


On Sun, May 25, 2003 at 03:27:31PM +0800, Kai Liu wrote:
> 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?

No.  In case of Cygwin the syscall *is* open().  Don't mess with it.
N.B., there's no glibc involved at all.  Cygwin doesn't use glibc but
newlib as std C lib.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
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