File system path operations. More...
#include <unistd.h>
#include <errno.h>
#include <sys/device.h>
#include <string.h>
#include <fs/fs.h>
#include <sys/stat.h>
Go to the source code of this file.
Functions | |
int | access (CONST char *path, int what) |
Check the accessibility of a file. | |
long | lseek (int fh, long pos, int whence) |
Reposition a file pointer. | |
int | rmdir (CONST char *path) |
Remove a directory. | |
int | unlink (CONST char *path) |
Remove a file entry. | |
int | stat (CONST char *path, struct stat *s) |
Get information about a specified file. | |
int | fstat (int fh, struct stat *s) |
Get information about an opened file. | |
int | mkdir (CONST char *path, int mode) |
Create a directory entry. | |
int | rename (CONST char *old_name, CONST char *new_name) |
Rename a file. |
File system path operations.
* * $Log$ * Revision 1.10 2009/03/05 22:02:26 freckle * unix emulation requires unistd.h as first include * * Revision 1.9 2009/01/17 11:26:46 haraldkipp * Getting rid of two remaining BSD types in favor of stdint. * Replaced 'u_int' by 'unsinged int' and 'uptr_t' by 'uintptr_t'. * * Revision 1.8 2008/08/11 06:59:42 haraldkipp * BSD types replaced by stdint types (feature request #1282721). * * Revision 1.7 2008/04/01 10:16:02 haraldkipp * Implemented access() function. * * Revision 1.6 2007/08/29 13:34:13 haraldkipp * Added function for renaming files (contrib by ZACK). * * Revision 1.5 2006/10/08 16:48:09 haraldkipp * Documentation fixed * * Revision 1.4 2006/10/05 17:22:35 haraldkipp * Fixes bug #1281167. Thanks to Jukka Holappa. * * Revision 1.3 2006/03/16 15:25:24 haraldkipp * Changed human readable strings from u_char to char to stop GCC 4 from * nagging about signedness. * * Revision 1.2 2006/01/05 16:52:23 haraldkipp * The argument for the FS_STATUS ioctl now uses an individual structure. * * Revision 1.1 2005/02/05 20:35:21 haraldkipp * Peanut added * * *
Definition in file pathops.c.