Luna/libc/include/bits/struct_stat.h

25 lines
413 B
C
Raw Normal View History

2023-04-10 17:56:03 +00:00
/* bits/struct_stat.h: The stat structure. */
#ifndef _BITS_STRUCT_STAT_H
#define _BITS_STRUCT_STAT_H
#include <sys/types.h>
struct stat
{
ino_t st_ino;
mode_t st_mode;
nlink_t st_nlink;
2023-05-23 18:45:24 +00:00
dev_t st_dev;
2023-04-10 17:56:03 +00:00
uid_t st_uid;
gid_t st_gid;
off_t st_size;
2023-05-23 18:45:24 +00:00
dev_t st_rdev;
// FIXME: Actually fill these fields in.
time_t st_atime;
time_t st_mtime;
time_t st_ctime;
2023-04-10 17:56:03 +00:00
};
#endif