stat.h File Reference


Detailed Description

File system status declarations.

 *
 * $Log: stat.h,v $
 * Revision 1.2  2008/04/01 10:16:35  haraldkipp
 * Added S_ISDIR and S_ISREG macro.
 *
 * Revision 1.1  2005/02/05 20:37:18  haraldkipp
 * Peanut added
 *
 *
 * 

Definition in file stat.h.

Go to the source code of this file.

Data Structures

struct  stat
 File status structure. More...

Defines

#define S_ISDIR(m)   ((m) != 0)
 Check for directory.
#define S_ISREG(m)   ((m) == 0)
 Check for regular file.

Functions

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.


© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/