2020-06-15 14:18:57 +00:00
|
|
|
#ifndef LIBC_ISYSTEM_SYS_STAT_H_
|
|
|
|
#define LIBC_ISYSTEM_SYS_STAT_H_
|
|
|
|
#include "libc/calls/calls.h"
|
2021-09-04 05:19:41 +00:00
|
|
|
#include "libc/calls/struct/stat.h"
|
|
|
|
#include "libc/calls/struct/stat.macros.h"
|
|
|
|
#include "libc/calls/weirdtypes.h"
|
2020-06-15 14:18:57 +00:00
|
|
|
#include "libc/sysv/consts/s.h"
|
2021-09-04 05:19:41 +00:00
|
|
|
#include "libc/sysv/consts/utime.h"
|
|
|
|
#include "libc/time/time.h"
|
2022-06-09 13:33:31 +00:00
|
|
|
|
|
|
|
#define st_atime st_atim.tv_sec
|
|
|
|
#define st_atime_nsec st_atim.tv_nsec
|
|
|
|
#define st_mtime st_mtim.tv_sec
|
|
|
|
#define st_mtime_nsec st_mtim.tv_nsec
|
|
|
|
#define st_ctime st_ctim.tv_sec
|
|
|
|
#define st_ctime_nsec st_ctim.tv_nsec
|
|
|
|
|
2020-06-15 14:18:57 +00:00
|
|
|
#endif
|