/** copies file descript from self to copy */
bool file_copy(int self, int copy);
int file_create(char *self, int omode, ulong perm);
int file_open(char *self, int omode);
void file_close(int self);
bool file_access(char *self, int mode);
bool file_exists(char *self);
bool file_mkdir(char *self);
bool file_recursive_mkdir(String *currentpath, char *restpath);
bool file_relative_recursive_mkdir(char *path);
bool file_on_demand_mkdir(char *path);
bool file_remove(char *self);
bool file_dirwstat(char *self, Dir *d);
bool file_isdir(char *self);
long file_dir_file_count(char *self);
bool file_isdir_empty(char *self);
bool file_dir_notempty(char *self);
|