Commit graph

19 commits

Author SHA1 Message Date
Hardeep Sidhu
85d8b85de9 Fixed win32 simulator warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3042 a1c6a512-1295-4272-9138-f99709370657
2003-01-09 03:05:59 +00:00
Björn Stenberg
c5f5be565e Added rename()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2857 a1c6a512-1295-4272-9138-f99709370657
2002-11-19 12:48:50 +00:00
Björn Stenberg
4059ea61d4 Bugfix: Flags work better when they're binary...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2830 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 16:08:28 +00:00
Björn Stenberg
9f9c495662 Added support for O_CREAT, O_APPEND and O_TRUNC.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2828 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 15:45:43 +00:00
Björn Stenberg
68640edf90 Added ftruncate().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2827 a1c6a512-1295-4272-9138-f99709370657
2002-11-11 14:40:18 +00:00
Björn Stenberg
b7b48fea02 Snapshot of file writing code. Bugs remain. Only short names are supported yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2726 a1c6a512-1295-4272-9138-f99709370657
2002-10-20 22:50:58 +00:00
Daniel Stenberg
cc1662420f undef MAX_PATH before defining it makes it play the simulator game better
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2280 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 06:27:16 +00:00
Daniel Stenberg
1beaa8b362 added weirdo extra protos for the mingw cross-compile build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1534 a1c6a512-1295-4272-9138-f99709370657
2002-08-05 07:51:09 +00:00
Daniel Stenberg
c1370d25b2 use our own prototypes for open, read, close and lseek if we compile
with Mingw32 as <io.h> doesn't seem to be good to include then


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1532 a1c6a512-1295-4272-9138-f99709370657
2002-08-04 14:17:01 +00:00
Daniel Stenberg
2ec1e170ab just defensivelt check for defined defines before we define them
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1524 a1c6a512-1295-4272-9138-f99709370657
2002-08-02 12:33:48 +00:00
Daniel Stenberg
4c043173bb ming compile fixes by Bill Napier
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1522 a1c6a512-1295-4272-9138-f99709370657
2002-08-02 12:18:30 +00:00
Linus Nielsen Feltzing
75447f6d41 Added MAX_PATH
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1341 a1c6a512-1295-4272-9138-f99709370657
2002-07-05 11:28:20 +00:00
Björn Stenberg
4bd870360a Added open/close/read. read() only works on whole sectors right now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@498 a1c6a512-1295-4272-9138-f99709370657
2002-05-07 16:01:53 +00:00
Daniel Stenberg
83e92b86fc minor protection to not re-define O_RDONLY if it is already defined
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@432 a1c6a512-1295-4272-9138-f99709370657
2002-05-05 10:32:59 +00:00
Björn Stenberg
a98b20e22a Added flags
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@378 a1c6a512-1295-4272-9138-f99709370657
2002-05-02 11:04:30 +00:00
Felix Arends
d711bd9768 replaced _WIN32 constant with WIN32
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@304 a1c6a512-1295-4272-9138-f99709370657
2002-04-28 19:33:19 +00:00
Felix Arends
0196c0c45b added win32 simulator compability
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@303 a1c6a512-1295-4272-9138-f99709370657
2002-04-28 19:29:57 +00:00
Felix Arends
17947b7898 win32 simulator compatible
(open, close, read, write do not have to be re-defined)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@299 a1c6a512-1295-4272-9138-f99709370657
2002-04-28 12:13:33 +00:00
Björn Stenberg
0e2a5a69bd File and directory APIs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@278 a1c6a512-1295-4272-9138-f99709370657
2002-04-27 23:31:23 +00:00