Function to read file contents from image.

This commit is contained in:
Vreixo Formoso
2008-01-03 00:56:11 +01:00
parent 33635c4e41
commit 282ffa9a98
3 changed files with 105 additions and 8 deletions

View File

@ -246,6 +246,9 @@ int lfs_read(IsoFileSource *src, void *buf, size_t count)
if (src == NULL || buf == NULL) {
return ISO_NULL_POINTER;
}
if (count == 0) {
return ISO_WRONG_ARG_VALUE;
}
data = src->data;
switch (data->openned) {