9
0
Fork 0
barebox/fs
Alexander Aring 9d8a20592f fs: add pread and pwrite functions
Add pread and pwrite functions.

Split read and write functions to save some space.
The functions pread and pwrite saves and sets the file
position to a given offset and restore them afterwards.

This also makes the nandtest command use these function
which is necessary to not break compilation for the nandtest
command.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2013-02-20 08:22:42 +01:00
..
cramfs use loff_t for file offsets 2012-06-30 16:53:24 +02:00
ext4 fs: implement initial ext4 support from U-Boot 2012-12-03 11:23:25 +01:00
fat Merge branch 'for-next/remove-fsf-address' 2012-10-03 21:12:48 +02:00
Kconfig Merge branch 'kconfig' 2012-12-08 12:22:21 +01:00
Makefile fs: implement initial ext4 support from U-Boot 2012-12-03 11:23:25 +01:00
devfs-core.c devfs & mtd: add MEMERASE ioctl support 2012-12-19 10:31:23 +01:00
devfs.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
fs.c fs: add pread and pwrite functions 2013-02-20 08:22:42 +01:00
nfs.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
omap4_usbbootfs.c omap4: add filesystem support over usb boot 2012-11-16 15:32:31 +01:00
ramfs.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
tftp.c Merge branch 'for-next/misc' 2013-02-04 15:49:00 +01:00