URL
https://opencores.org/ocsvn/plasma/plasma/trunk
[/] [plasma/] [trunk/] [kernel/] [filesys.c] - Diff between revs 357 and 360
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 357 |
Rev 360 |
Line 551... |
Line 551... |
fileEntry.valid = 0;
|
fileEntry.valid = 0;
|
rc = FileOpen(file, filename, &fileEntry); //Open file
|
rc = FileOpen(file, filename, &fileEntry); //Open file
|
file->fullname[0] = 0;
|
file->fullname[0] = 0;
|
strncat(file->fullname, name, FULL_NAME_SIZE);
|
strncat(file->fullname, name, FULL_NAME_SIZE);
|
OS_MutexPost(mutexFilesys);
|
OS_MutexPost(mutexFilesys);
|
|
if(mode[0] == 'a')
|
|
OS_fseek(file, 0, 2); //goto end of file
|
return file;
|
return file;
|
}
|
}
|
|
|
|
|
void OS_fclose(OS_FILE *file)
|
void OS_fclose(OS_FILE *file)
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.