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
From: Daniel Stenberg (daniel_at_haxx.se)
Date: 2002-05-01


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



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa