Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: cvs: firmware disk.c,NONE,1.1

Re: cvs: firmware disk.c,NONE,1.1

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 1 May 2002 11:29:39 +0200 (MET DST)

On Tue, 30 Apr 2002, stuart martin wrote:

> Added Files:
> disk.c

> FILE *fp;

[snip]

> fp = fopen( filename, "r" );

Just a note here. We currently have no plans to supported the buffered
versions of the file functions.

The ones we plan to offer initially are the functions in
firmware/common/file.h:

extern int open(char* pathname, int flags);
extern int close(int fd);

extern int read(int fd, void* buf, int count);
extern int write(int fd, void* buf, int count);

extern int lseek(int fd, int offset, int whence);

extern int remove(char* pathname);
extern int rename(char* oldname, char* newname);


-- 
      Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77
Received on 2002-05-01

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy