Displaying 1 result from an estimated 1 matches for "libfat_close".
2007 Apr 18
2
[Patch]: Drive/Partition and extensible filesystem support for syslinux
...other *nix file...! :)
read(fd, mybuf, 128); // read 128 bytes from file..
OR
you can use zlib funtionality of syslinux with:
gzFile gzf = gzdopen(fd, "r");
gzread(gzf, mybuffer, 128);
etc...
//After you are done, you can close the descriptor with
close(fd);
// FS can be closed with
libfat_close(fs);
One thing which is missing is the way you specify file names for open.
It is the short name format of DOS. Would appreciate if someone can
add long file name search for libfat.
thanks.
--
Ram
-------------- next part --------------
A non-text attachment was scrubbed...
Name: drive_partiti...