This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: using syscall in cygwin?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]