Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Sat, 24 May 2003 13:50:23 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: using syscall in cygwin? Message-ID: <20030524175023.GA6768@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20030524123851 DOT 34720 DOT qmail AT web15307 DOT mail DOT bjs DOT yahoo DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030524123851.34720.qmail@web15307.mail.bjs.yahoo.com> User-Agent: Mutt/1.4.1i 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 AT sourceware DOT 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/