Fingerprint_Card

Loading...
Searching...
No Matches
stat.h
Go to the documentation of this file.
1#ifndef stat_h
2#define stat_h
3
4#include <stdint.h>
5#include <sys/stat.h>
6
7 typedef struct {
8 uint64_t st_dev; /* dev_t */
9 uint64_t st_ino; /* ino_t */
10 uint32_t st_mode;
11 uint64_t st_nlink; /* nlink_t */
12 uint32_t st_uid; /* uid_t */
13 uint32_t st_gid; /* gid_t */
14 uint64_t st_rdev; /* dev_t */
15 int64_t st_size; /* off_t */
16 int64_t st_blksize; /* blksize_t */
17 int64_t st_blocks; /* blkcnt_t */
18 int64_t st_atime_; /* time_t */
19 int64_t st_mtime_; /* time_t */
20 int64_t st_ctime_; /* time_t */
21} PosixStat;
22
23 extern int sys_stat(const char * szFileName, PosixStat * psPosixStat);
24
25#endif // !stat_h
sys_stat
int sys_stat(const char *szFileName, PosixStat *psPosixStat)
Definition stat.c:32
PosixStat
Definition stat.h:7
PosixStat::st_uid
uint32_t st_uid
Definition stat.h:12
PosixStat::st_blksize
int64_t st_blksize
Definition stat.h:16
PosixStat::st_dev
uint64_t st_dev
Definition stat.h:8
PosixStat::st_ino
uint64_t st_ino
Definition stat.h:9
PosixStat::st_blocks
int64_t st_blocks
Definition stat.h:17
PosixStat::st_nlink
uint64_t st_nlink
Definition stat.h:11
PosixStat::st_ctime_
int64_t st_ctime_
Definition stat.h:20
PosixStat::st_mode
uint32_t st_mode
Definition stat.h:10
PosixStat::st_size
int64_t st_size
Definition stat.h:15
PosixStat::st_mtime_
int64_t st_mtime_
Definition stat.h:19
PosixStat::st_rdev
uint64_t st_rdev
Definition stat.h:14
PosixStat::st_atime_
int64_t st_atime_
Definition stat.h:18
PosixStat::st_gid
uint32_t st_gid
Definition stat.h:13