diff options
| author | Björn Stenberg <bjorn@haxx.se> | 2002-11-11 14:40:18 +0000 |
|---|---|---|
| committer | Björn Stenberg <bjorn@haxx.se> | 2002-11-11 14:40:18 +0000 |
| commit | 68640edf90c84c3d4494f0852f6236e1929a4603 (patch) | |
| tree | fe74712bcebdfcc21ef272d83528209ce6e69fbb /firmware/common/file.h | |
| parent | 228605dc7bfac86604166d5e3bbabb72ae40b78b (diff) | |
| download | rockbox-68640edf90c84c3d4494f0852f6236e1929a4603.zip rockbox-68640edf90c84c3d4494f0852f6236e1929a4603.tar.gz rockbox-68640edf90c84c3d4494f0852f6236e1929a4603.tar.bz2 rockbox-68640edf90c84c3d4494f0852f6236e1929a4603.tar.xz | |
Added ftruncate().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2827 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/common/file.h')
| -rw-r--r-- | firmware/common/file.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/common/file.h b/firmware/common/file.h index 7a7c63d..59ff717 100644 --- a/firmware/common/file.h +++ b/firmware/common/file.h @@ -56,6 +56,7 @@ extern int creat(const char *pathname, int mode); extern int write(int fd, void* buf, int count); extern int remove(const char* pathname); extern int rename(const char* oldname, const char* newname); +extern int ftruncate(int fd, unsigned int size); #else #ifdef WIN32 |