Skip to content

Commit 94df6e8

Browse files
committed
Add some comment for statx
1 parent 0afd758 commit 94df6e8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

qiling/os/posix/syscall/stat.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1154,6 +1154,12 @@ class StatxTimestamp(ctypes.Structure):
11541154
]
11551155

11561156
class Statx(ctypes.Structure):
1157+
"""
1158+
Reference:
1159+
- https://man7.org/linux/man-pages/man2/statx.2.html
1160+
- https://code.woboq.org/userspace/glibc/sysdeps/unix/sysv/linux/statx.c.html
1161+
1162+
"""
11571163
_fields_ = [
11581164
('stx_mask', ctypes.c_uint32),
11591165
('stx_blksize', ctypes.c_uint32),

0 commit comments

Comments
 (0)