Commit Graph

29 Commits

Author SHA1 Message Date
Dave Murphy
89e4900115 update devoptab for latest newlib patches 2014-12-17 10:50:29 +00:00
Dave Murphy
7e8724f158 use limits.h & PATH_MAX 2014-12-15 02:25:36 +00:00
Dave Murphy
3375e8fc58 use sys/param.h for MAXPATHLEN 2014-04-01 17:50:22 +01:00
Dave Murphy
250ced0be3 get rid of sprintf as per https://sourceforge.net/tracker/?func=detail&aid=3465300&group_id=114505&atid=668553 2012-02-26 16:20:18 +00:00
tantricity
d5702c9f29 better check for devoptab name 2010-09-04 07:15:56 +00:00
Dave Murphy
247aa36062 avoid buffer overflow 2010-09-03 18:49:11 +00:00
tantricity
eb73138455 minor changes 2010-06-26 19:33:19 +00:00
tantricity
9b55efe66d fix 2010-06-19 08:12:39 +00:00
tantricity
77fecb0cd9 check if devoptab exists. if yes, return false. 2010-06-18 23:40:44 +00:00
Dave Murphy
5d0cd6bc7c add new elements for devkitARM r29, use internal deallocaters 2010-03-21 11:09:34 +00:00
Dave Murphy
0f96214202 use internal allocator 2010-02-11 10:08:16 +00:00
tantricity
a8ed97403b added fatGetVolumeLabel (rodries) 2009-10-17 20:29:48 +00:00
tantricity
3b6561d4ca do not shut down the interface on unmount. other partitons (fat, ntfs, etc) may still be mounted on the device! 2009-10-16 21:38:51 +00:00
tantricity
e89b232b5f remove unused code, r18 args fix 2009-05-30 16:22:09 +00:00
Dave Murphy
af94077a7a move device startup to fatMount
shut device down in fatUnmount
2009-05-30 15:54:52 +00:00
Dave Murphy
206ce78022 add read ahead cache by Rodries 2009-05-17 22:16:35 +00:00
Michael Chisholm
2cc2cc2e39 Moved disc interfaces to appropriate libraries (DLDI to libnds, SD/USB to libogc).
Changed read/write functions to use size_t and seek function to use off_t -- will help on 64 bit platforms.
Partitions no longer specified by fat1:/, fat2:/, etc.
Use "nice" device names. On GBA/NDS the default partition is still fat:/; however on Wii and GC sd:/, usb:/, etc. are used instead.
Added fsync and ftruncate functions.
Mount and unmount no longer startup/shutdown the device, this is the job of the host app.
Mount now accepts a partition start parameter.
Used standard types, eg uint32_t instead of u32.
Archive bit is set when closing/synchronizing a modified file.
Various minor bug fixes.
2008-11-20 05:22:28 +00:00
Dave Murphy
8b9d437f76 add locks for threaded systems.
fix eof conditions
https://sourceforge.net/tracker/?func=detail&atid=668553&aid=1970541&group_id=114505
2008-05-23 19:37:46 +00:00
Dave Murphy
a839587b4d correct initial path setting from argv 2008-05-23 10:37:33 +00:00
Dave Murphy
46df48ba21 add libogc port and nitroFS support 2008-05-10 19:35:18 +00:00
Michael Chisholm
8c319ec76a Added statvfs functionality 2007-10-25 12:52:08 +00:00
Michael Chisholm
fc538f0164 Added missing #include <unistd.h> 2007-01-11 11:23:18 +00:00
Michael Chisholm
f4cb675198 fatInit now sets the correct path when setAsDefaultDevice 2007-01-10 10:48:46 +00:00
Michael Chisholm
af89e9074f *** empty log message *** 2006-08-14 12:04:56 +00:00
Michael Chisholm
1288d8f8ec Added extended devoptab_t functions 2006-08-14 11:59:25 +00:00
Michael Chisholm
a8bbf71829 Moved all externally visible directory related functions to fatdir 2006-08-13 09:43:38 +00:00
Michael Chisholm
eb2b6d1e20 Changed all IO_INTERFACEs to const. M3SD and SCSD drivers no longer delay card detection when it is not inserted. 2006-07-25 10:36:42 +00:00
Michael Chisholm
b540acafed Added fatInitDefault to fat.h and libfat.c 2006-07-16 07:37:24 +00:00
Michael Chisholm
cc64edfab8 Initial import into devkitpro CVS. 2006-07-14 02:42:37 +00:00