Nut/OS  4.10.3
API Reference
stat.h File Reference

File system status declarations. More...

#include <stdint.h>
#include <time.h>
Include dependency graph for stat.h:
This graph shows which files directly or indirectly include this file:

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.

Detailed Description

File system status declarations.

 *
 * $Log$
 * Revision 1.3  2008/08/11 07:00:27  haraldkipp
 * BSD types replaced by stdint types (feature request #1282721).
 *
 * 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.