File nut/fs/pathops.c


Included Files


Global Function access()

int access ( const char* path, int what )
Prototyped in: nut/include/unistd.h
Calls: stat() nut/fs/pathops.c

Global Function fstat()

int fstat ( int fh, struct stat* s )
Prototyped in: nut/include/sys/stat.h

Global Function lseek()

long lseek ( int fh, long pos, int whence )
Prototyped in: nut/include/unistd.h

Global Function mkdir()

int mkdir ( const char* path, int mode )
Prototyped in: nut/include/sys/stat.h
Calls: PathOperation() nut/fs/pathops.c

Global Function rename()

int rename ( const char* old_name, const char* new_name )
Calls: strcmp() nut/c/string/strcmp.c
  NutDeviceLookup()

Global Function rmdir()

int rmdir ( const char* path )
Prototyped in: nut/include/unistd.h
Calls: PathOperation() nut/fs/pathops.c

Global Function stat()

int stat ( const char* path, struct stat* s )
Prototyped in: nut/include/sys/stat.h
Calls: NutDeviceLookup()
Called by: access() nut/fs/pathops.c

Global Function unlink()

int unlink ( const char* path )
Prototyped in: nut/include/unistd.h
Calls: PathOperation() nut/fs/pathops.c

Local Function PathOperation()

static int PathOperation ( const char* path, int opcode )
Calls: NutDeviceLookup()
Called by: mkdir() nut/fs/pathops.c
  rmdir() nut/fs/pathops.c
  unlink() nut/fs/pathops.c