From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4100 invoked by alias); 19 Jul 2005 15:38:22 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 4070 invoked by uid 22791); 19 Jul 2005 15:38:16 -0000 Received: from mx1.itb.ac.id (HELO mx1.itb.ac.id) (167.205.23.6) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 19 Jul 2005 15:38:16 +0000 Received: from antivirus.itb.ac.id (antivirus.itb.ac.id [167.205.108.137]) by mx1.itb.ac.id (Postfix) with SMTP id 1D9D0BD80F for ; Tue, 19 Jul 2005 22:38:03 +0700 (WIT) Received: from vlsi.itb.ac.id (ic.vlsi.itb.ac.id [167.205.65.54]) by mx1.itb.ac.id (Postfix) with SMTP id D6668BD692 for ; Tue, 19 Jul 2005 22:38:02 +0700 (WIT) Received: (qmail 23754 invoked by uid 4061); 19 Jul 2005 15:38:06 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 19 Jul 2005 15:38:06 -0000 Date: Tue, 19 Jul 2005 15:38:00 -0000 From: Indra Antonius Simalango To: Andrew Lunn cc: In-Reply-To: <20050719151542.GQ15048@lunn.ch> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [ECOS] a question about removing file function in eCos programming X-SW-Source: 2005-07/txt/msg00186.txt.bz2 On Tue, 19 Jul 2005, Andrew Lunn wrote: > Yes, use unlink() instead, or rmdir() is you are trying to delete a > directory. remove is just a wrapper around these two functions. Thank you, Mr Lunn, it works. ^_^ But I still find some functions in my codes that didn't work in eCos while compiling and linking, such as "execl" and "chmod". Is there any references that explaining any equivalent functions from linux to eCos? -- regards, IndrA on 22:32, Jul 19 http://ic.ee.itb.ac.id/~antonius -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss