From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25501 invoked by alias); 11 Aug 2004 22:28:32 -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 25494 invoked from network); 11 Aug 2004 22:28:32 -0000 Received: from unknown (HELO hotmail.com) (64.4.35.29) by sourceware.org with SMTP; 11 Aug 2004 22:28:32 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 11 Aug 2004 15:28:31 -0700 Received: from 172.191.176.191 by by12fd.bay12.hotmail.msn.com with HTTP; Wed, 11 Aug 2004 22:28:31 GMT X-Originating-IP: [172.191.176.191] X-Originating-Email: [samiehg@hotmail.com] X-Sender: samiehg@hotmail.com From: "Samie Hassan Ghauri" To: ecos-discuss@sources.redhat.com Bcc: Date: Wed, 11 Aug 2004 22:28:00 -0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 11 Aug 2004 22:28:31.0761 (UTC) FILETIME=[883B3010:01C47FF2] Subject: [ECOS] Accessing File from host system's OS filesystem X-SW-Source: 2004-08/txt/msg00182.txt.bz2 Hi I am running eCos on my PC on which Windows XP is installed. I want to parse a BMP file in an application I wrote in ANSI C, which I now want to port to eCos. I have read how fileio system in the reference guide, but still not sure how to read the BMP file that is saved in host system's OS filesystem. Can anyone share some fragment of code if somebody ever opened a file from native hard disk so that will serve as an example for me to follow? Thanks Samie _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss