Revision 64
Added by markw over 11 years ago
pff_file.c | ||
---|---|---|
{
|
||
*dir++ = *path++;
|
||
}
|
||
--dir;
|
||
}
|
||
|
||
*dir = '\0';
|
||
... | ... | |
return file_of(&file->path[0]);
|
||
}
|
||
|
||
char const * file_path(struct SimpleFile * file)
|
||
{
|
||
return &file->path[0];
|
||
}
|
||
|
||
void file_init(struct SimpleFile * file)
|
||
{
|
||
file->path[0] = '\0';
|
use MCC paths (will differ per system - TODO)