dk_stat_t Struct Reference

File status information. More...

#include <dktypes.h>


Data Fields

int permissions
 File permissions.
int filetype
 File type.
unsigned long inode_number
 Inode number.
unsigned long device_number
 Device number.
unsigned long rdevice_number
 Relative device number.
unsigned long number_of_links
 Number of links.
dk_long_long_unsigned_t size
 File size.
int size_math_error
 Math error in file size.
long uid
 Owner UID.
long gid
 Owner GID.
char ctime [24]
 Creation time as text.
char atime [24]
 Last access time.
char mtime [24]
 Modification time.
short is_far_link
 Flag to indicate link outside file system.
struct tm ori_ctime
 ctime.
struct tm ori_atime
 atime.
struct tm ori_mtime
 mtime.
unsigned char ud
 Flag: Link owner different from file owner.
unsigned char gd
 Flag: Link owner group differs.


Detailed Description

File status information.

This structure can be used to obtain information about a file status.


Field Documentation

char dk_stat_t::atime[24]

Last access time.

char dk_stat_t::ctime[24]

Creation time as text.

unsigned long dk_stat_t::device_number

Device number.

File type.

unsigned char dk_stat_t::gd

Flag: Link owner group differs.

Owner GID.

unsigned long dk_stat_t::inode_number

Inode number.

Flag to indicate link outside file system.

char dk_stat_t::mtime[24]

Modification time.

Number of links.

struct tm dk_stat_t::ori_atime [read]

atime.

struct tm dk_stat_t::ori_ctime [read]

ctime.

struct tm dk_stat_t::ori_mtime [read]

mtime.

File permissions.

Relative device number.

File size.

Math error in file size.

unsigned char dk_stat_t::ud

Flag: Link owner different from file owner.

Owner UID.


The documentation for this struct was generated from the following file:

Generated on Mon Jan 4 15:50:57 2010 for dklibs by  doxygen 1.5.8