Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <stat.h>

Struct stat

Interface status: externallyDefinedApi

struct stat;

Description

This structure provides detailed information about a file. The information returned depends on the type of file and/or the file system on which the file resides. Includes following members,

Members

Defined in stat:


Member data


st_dev

Interface status: externallyDefinedApi Inherited from: stat

__dev_t st_dev;

Description

inode's device


st_ino

Interface status: externallyDefinedApi Inherited from: stat

ino_t st_ino;

Description

inode's number


st_mode

Interface status: externallyDefinedApi Inherited from: stat

mode_t st_mode;

Description

inode protection mode


st_nlink

Interface status: externallyDefinedApi Inherited from: stat

nlink_t st_nlink;

Description

number of hard links


st_uid

Interface status: externallyDefinedApi Inherited from: stat

uid_t st_uid;

Description

user ID of the file's owner


st_gid

Interface status: externallyDefinedApi Inherited from: stat

gid_t st_gid;

Description

group ID of the file's group


st_rdev

Interface status: externallyDefinedApi Inherited from: stat

__dev_t st_rdev;

Description

device type


st_atimespec

Interface status: externallyDefinedApi Inherited from: stat

timespec st_atimespec;

Description

time of last access


st_mtimespec

Interface status: externallyDefinedApi Inherited from: stat

timespec st_mtimespec;

Description

time of last data modification


st_ctimespec

Interface status: externallyDefinedApi Inherited from: stat

timespec st_ctimespec;

Description

time of last file status change


st_size

Interface status: externallyDefinedApi Inherited from: stat

off_t st_size;

Description

file size, in bytes


st_blocks

Interface status: externallyDefinedApi Inherited from: stat

blkcnt_t st_blocks;

Description

blocks allocated for file


st_blksize

Interface status: externallyDefinedApi Inherited from: stat

blksize_t st_blksize;

Description

optimal blocksize for IO


st_flags

Interface status: externallyDefinedApi Inherited from: stat

fflags_t st_flags;

Description

user defined flags for file


st_gen

Interface status: externallyDefinedApi Inherited from: stat

__uint32_t st_gen;

Description

file generation number


st_lspare

Interface status: externallyDefinedApi Inherited from: stat

__int32_t st_lspare;

Description


st_birthtimespec

Interface status: externallyDefinedApi Inherited from: stat

timespec st_birthtimespec;

Description


int

Interface status: externallyDefinedApi Inherited from: stat

unsigned int;

Description