tango ~master (2021-12-14T19:14:08.8989381)
Dub
Repo
stat_t
tango
stdc
posix
sys
stat
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
struct
stat_t
version(linux)
extern (
C
)
struct
stat_t {
dev_t
st_dev
;
version(!X86_64)
_pad_t
__pad1
;
static if
(
__USE_LARGEFILE64
)
ino_t
__st_ino
;
static if
(!(
__USE_LARGEFILE64
))
ino_t
st_ino
;
version(X86_64)
nlink_t
st_nlink
;
version(X86_64)
mode_t
st_mode
;
version(!X86_64)
mode_t
st_mode
;
version(!X86_64)
nlink_t
st_nlink
;
uid_t
st_uid
;
gid_t
st_gid
;
version(X86_64)
int
pad0
;
version(X86_64)
dev_t
st_rdev
;
version(!X86_64)
dev_t
st_rdev
;
version(!X86_64)
_pad_t
__pad2
;
off_t
st_size
;
blksize_t
st_blksize
;
blkcnt_t
st_blocks
;
static if
(
false
)
timespec
st_atim
;
static if
(
false
)
timespec
st_mtim
;
static if
(
false
)
timespec
st_ctim
;
alias
st_atime
=
st_atim
.
tv_sec
;
alias
st_mtime
=
st_mtim
.
tv_sec
;
alias
st_ctime
=
st_ctim
.
tv_sec
;
static if
(!(
false
))
time_t
st_atime
;
static if
(!(
false
))
c_ulong
st_atimensec
;
static if
(!(
false
))
time_t
st_mtime
;
static if
(!(
false
))
c_ulong
st_mtimensec
;
static if
(!(
false
))
time_t
st_ctime
;
static if
(!(
false
))
c_ulong
st_ctimensec
;
version(X86_64)
c_long
[
3
]
__unused
;
version(!X86_64)
static if
(
__USE_LARGEFILE64
)
ino64_t
st_ino
;
version(!X86_64)
static if
(!(
__USE_LARGEFILE64
))
c_ulong
__unused4
;
version(!X86_64)
static if
(!(
__USE_LARGEFILE64
))
c_ulong
__unused5
;
}
struct
stat_t
struct
stat_t
struct
stat_t
Members
Aliases
st_atime
alias
st_atime
=
st_atim
.
tv_sec
Undocumented in source.
st_ctime
alias
st_ctime
=
st_ctim
.
tv_sec
Undocumented in source.
st_mtime
alias
st_mtime
=
st_mtim
.
tv_sec
Undocumented in source.
Variables
__pad1
_pad_t
__pad1
;
Undocumented in source.
__pad2
_pad_t
__pad2
;
Undocumented in source.
__st_ino
ino_t
__st_ino
;
Undocumented in source.
__unused
c_long
[
3
]
__unused
;
Undocumented in source.
__unused4
c_ulong
__unused4
;
Undocumented in source.
__unused5
c_ulong
__unused5
;
Undocumented in source.
pad0
int
pad0
;
Undocumented in source.
st_atim
timespec
st_atim
;
Undocumented in source.
st_atime
time_t
st_atime
;
Undocumented in source.
st_atimensec
c_ulong
st_atimensec
;
Undocumented in source.
st_blksize
blksize_t
st_blksize
;
Undocumented in source.
st_blocks
blkcnt_t
st_blocks
;
Undocumented in source.
st_ctim
timespec
st_ctim
;
Undocumented in source.
st_ctime
time_t
st_ctime
;
Undocumented in source.
st_ctimensec
c_ulong
st_ctimensec
;
Undocumented in source.
st_dev
dev_t
st_dev
;
Undocumented in source.
st_gid
gid_t
st_gid
;
Undocumented in source.
st_ino
ino_t
st_ino
;
Undocumented in source.
st_ino
ino64_t
st_ino
;
Undocumented in source.
st_mode
mode_t
st_mode
;
Undocumented in source.
st_mode
mode_t
st_mode
;
Undocumented in source.
st_mtim
timespec
st_mtim
;
Undocumented in source.
st_mtime
time_t
st_mtime
;
Undocumented in source.
st_mtimensec
c_ulong
st_mtimensec
;
Undocumented in source.
st_nlink
nlink_t
st_nlink
;
Undocumented in source.
st_nlink
nlink_t
st_nlink
;
Undocumented in source.
st_rdev
dev_t
st_rdev
;
Undocumented in source.
st_rdev
dev_t
st_rdev
;
Undocumented in source.
st_size
off_t
st_size
;
Undocumented in source.
st_uid
uid_t
st_uid
;
Undocumented in source.
Meta
Source
See Implementation
tango
stdc
posix
sys
stat
aliases
fstat
lstat
stat
enums
S_IFMT
functions
S_ISBLK
S_ISCHR
S_ISDIR
S_ISDOOR
S_ISFIFO
S_ISLNK
S_ISPORT
S_ISREG
S_ISSOCK
S_TYPEISMQ
S_TYPEISSEM
S_TYPEISSHM
chmod
fchmod
fstat64
lstat64
mkdir
mkfifo
mknod
stat64
umask
structs
stat_t
variables
S_IFBLK
S_IFCHR
S_IFDIR
S_IFIFO
S_IFLNK
S_IFREG
S_IFSOCK
S_IRGRP
S_IROTH
S_IRUSR
S_IRWXG
S_IRWXO
S_IRWXU
S_ISGID
S_ISUID
S_ISVTX
S_IWGRP
S_IWOTH
S_IWUSR
S_IXGRP
S_IXOTH
S_IXUSR
_ST_FSTYPSZ