programming.nbk: Home | Index | Next Page: stat() - c function | Previous Page: Sockets
The structure used to contain file attributes returned by stat() - c function and fstat().
struct stat {
_dev_t st_dev; /* Equivalent to drive number 0=A 1=B ... */
_ino_t st_ino; /* Always zero ? */
_mode_t st_mode; /* See above constants */
short st_nlink; /* Number of links. */
short st_uid; /* User: Maybe significant on NT ? */
short st_gid; /* Group: Ditto */
_dev_t st_rdev; /* Seems useless (not even filled in) */
_off_t st_size; /* File size in bytes */
time_t st_atime; /* Accessed date (always 00:00 hrs local * on FAT) */
time_t st_mtime; /* Modified time */
time_t st_ctime; /* Creation time */
};
Defined in sys\stat.h.
programming.nbk: Home | Index | Next Page: stat() - c function | Previous Page: Sockets
Notebook exported on Monday, 7 July 2008, 18:56:06 PM Eastern Daylight Time