File tree Expand file tree Collapse file tree 15 files changed +120
-11
lines changed
libc-top-half/musl/include Expand file tree Collapse file tree 15 files changed +120
-11
lines changed Original file line number Diff line number Diff line change @@ -446,7 +446,6 @@ MUSL_OMIT_HEADERS += \
446446 "bits/shm.h" "bits/msg.h" "bits/ipc.h" "bits/ptrace.h" \
447447 "bits/statfs.h" \
448448 "sys/vfs.h" \
449- "sys/statvfs.h" \
450449 "syslog.h" "sys/syslog.h" \
451450 "wait.h" "sys/wait.h" \
452451 "ucontext.h" "sys/ucontext.h" \
Original file line number Diff line number Diff line change 449449cexpf
450450cexpl
451451chdir
452+ chmod
452453cimag
453454cimagf
454455cimagl
550551fabsf
551552fabsl
552553faccessat
554+ fchmod
555+ fchmodat
553556fclose
554557fcntl
555558fcvt
@@ -701,6 +704,7 @@ fsetpos
701704fsetpos64
702705fstat
703706fstatat
707+ fstatvfs
704708fsync
705709ftell
706710ftello
@@ -1121,6 +1125,7 @@ srand48
11211125srandom
11221126sscanf
11231127stat
1128+ statvfs
11241129stderr
11251130stderr_get_stderr
11261131stdin
Original file line number Diff line number Diff line change 141141#include <sys/select.h>
142142#include <sys/socket.h>
143143#include <sys/stat.h>
144+ #include <sys/statvfs.h>
144145#include <sys/stropts.h>
145146#include <sys/syscall.h>
146147#include <sys/sysinfo.h>
Original file line number Diff line number Diff line change 181181#define DT_FIFO __WASI_FILETYPE_SOCKET_STREAM
182182#define DT_LNK __WASI_FILETYPE_SYMBOLIC_LINK
183183#define DT_REG __WASI_FILETYPE_REGULAR_FILE
184+ #define DT_SOCK 20
184185#define DT_UNKNOWN __WASI_FILETYPE_UNKNOWN
185186#define D_FMT 0x20029
186187#define D_T_FMT 0x20028
17311732#define STRU_F 1
17321733#define STRU_P 3
17331734#define STRU_R 2
1735+ #define ST_APPEND 256
1736+ #define ST_IMMUTABLE 512
1737+ #define ST_MANDLOCK 64
1738+ #define ST_NOATIME 1024
1739+ #define ST_NODEV 4
1740+ #define ST_NODIRATIME 2048
1741+ #define ST_NOEXEC 8
1742+ #define ST_NOSUID 2
1743+ #define ST_RDONLY 1
1744+ #define ST_RELATIME 4096
1745+ #define ST_SYNCHRONOUS 16
1746+ #define ST_WRITE 128
17341747#define SUN_LEN(s) (2+strlen((s)->sun_path))
17351748#define SUSP 237
17361749#define SYMLOOP_MAX 40
17451758#define S_IFBLK (0x6000)
17461759#define S_IFCHR (0x2000)
17471760#define S_IFDIR (0x4000)
1748- #define S_IFIFO (0xc000 )
1761+ #define S_IFIFO (0x1000 )
17491762#define S_IFLNK (0xa000)
17501763#define S_IFMT (S_IFBLK | S_IFCHR | S_IFDIR | S_IFIFO | S_IFLNK | S_IFREG | S_IFSOCK)
17511764#define S_IFREG (0x8000)
24202433#define _SYS_REG_H
24212434#define _SYS_SELECT_H
24222435#define _SYS_SOCKET_H
2436+ #define _SYS_STATVFS_H
24232437#define _SYS_STAT_H
24242438#define _SYS_SYSCALL_H
24252439#define _SYS_SYSINFO_H
32443258#define fsfilcnt64_t fsfilcnt_t
32453259#define fstat64 fstat
32463260#define fstatat64 fstatat
3261+ #define fstatvfs64 fstatvfs
32473262#define ftello64 ftello
32483263#define ftruncate64 ftruncate
32493264#define getdents64 getdents
34273442#define st_mtime st_mtim.tv_sec
34283443#define stat64 stat
34293444#define static_assert _Static_assert
3445+ #define statvfs64 statvfs
34303446#define stderr (stderr)
34313447#define stdin (stdin)
34323448#define stdout (stdout)
Original file line number Diff line number Diff line change 511511cexpf
512512cexpl
513513chdir
514+ chmod
514515cimag
515516cimagf
516517cimagl
607608fabsf
608609fabsl
609610faccessat
611+ fchmod
612+ fchmodat
610613fclose
611614fcntl
612615fcvt
@@ -702,6 +705,7 @@ fsetpos
702705fsetpos64
703706fstat
704707fstatat
708+ fstatvfs
705709fsync
706710ftell
707711ftello
@@ -1162,6 +1166,7 @@ srand48
11621166srandom
11631167sscanf
11641168stat
1169+ statvfs
11651170stderr
11661171stdin
11671172stdout
Original file line number Diff line number Diff line change 142142#include <sys/select.h>
143143#include <sys/socket.h>
144144#include <sys/stat.h>
145+ #include <sys/statvfs.h>
145146#include <sys/stropts.h>
146147#include <sys/syscall.h>
147148#include <sys/sysinfo.h>
Original file line number Diff line number Diff line change 181181#define DT_FIFO __WASI_FILETYPE_SOCKET_STREAM
182182#define DT_LNK __WASI_FILETYPE_SYMBOLIC_LINK
183183#define DT_REG __WASI_FILETYPE_REGULAR_FILE
184+ #define DT_SOCK 20
184185#define DT_UNKNOWN __WASI_FILETYPE_UNKNOWN
185186#define D_FMT 0x20029
186187#define D_T_FMT 0x20028
16711672#define STRU_F 1
16721673#define STRU_P 3
16731674#define STRU_R 2
1675+ #define ST_APPEND 256
1676+ #define ST_IMMUTABLE 512
1677+ #define ST_MANDLOCK 64
1678+ #define ST_NOATIME 1024
1679+ #define ST_NODEV 4
1680+ #define ST_NODIRATIME 2048
1681+ #define ST_NOEXEC 8
1682+ #define ST_NOSUID 2
1683+ #define ST_RDONLY 1
1684+ #define ST_RELATIME 4096
1685+ #define ST_SYNCHRONOUS 16
1686+ #define ST_WRITE 128
16741687#define SUN_LEN(s) (2+strlen((s)->sun_path))
16751688#define SUSP 237
16761689#define SYMLOOP_MAX 40
16851698#define S_IFBLK (0x6000)
16861699#define S_IFCHR (0x2000)
16871700#define S_IFDIR (0x4000)
1688- #define S_IFIFO (0xc000 )
1701+ #define S_IFIFO (0x1000 )
16891702#define S_IFLNK (0xa000)
16901703#define S_IFMT (S_IFBLK | S_IFCHR | S_IFDIR | S_IFIFO | S_IFLNK | S_IFREG | S_IFSOCK)
16911704#define S_IFREG (0x8000)
20522065#define _Complex_I (0.0f+1.0fi)
20532066#define _DIRENT_H
20542067#define _DIRENT_HAVE_D_TYPE
2055- #define _DLFCN_H
2068+ #define _DLFCN_H
20562069#define _ENDIAN_H
20572070#define _ERRNO_H
20582071#define _ERR_H
23602373#define _SYS_REG_H
23612374#define _SYS_SELECT_H
23622375#define _SYS_SOCKET_H
2376+ #define _SYS_STATVFS_H
23632377#define _SYS_STAT_H
23642378#define _SYS_SYSCALL_H
23652379#define _SYS_SYSINFO_H
31853199#define fsfilcnt64_t fsfilcnt_t
31863200#define fstat64 fstat
31873201#define fstatat64 fstatat
3202+ #define fstatvfs64 fstatvfs
31883203#define ftello64 ftello
31893204#define ftruncate64 ftruncate
31903205#define getdents64 getdents
33713386#define st_mtime st_mtim.tv_sec
33723387#define stat64 stat
33733388#define static_assert _Static_assert
3389+ #define statvfs64 statvfs
33743390#define stderr (stderr)
33753391#define stdin (stdin)
33763392#define stdout (stdout)
Original file line number Diff line number Diff line change 447447cexpf
448448cexpl
449449chdir
450+ chmod
450451cimag
451452cimagf
452453cimagl
543544fabsf
544545fabsl
545546faccessat
547+ fchmod
548+ fchmodat
546549fclose
547550fcntl
548551fcvt
@@ -637,6 +640,7 @@ fsetpos
637640fsetpos64
638641fstat
639642fstatat
643+ fstatvfs
640644fsync
641645ftell
642646ftello
@@ -1012,6 +1016,7 @@ srand48
10121016srandom
10131017sscanf
10141018stat
1019+ statvfs
10151020stderr
10161021stdin
10171022stdout
Original file line number Diff line number Diff line change 141141#include <sys/select.h>
142142#include <sys/socket.h>
143143#include <sys/stat.h>
144+ #include <sys/statvfs.h>
144145#include <sys/stropts.h>
145146#include <sys/syscall.h>
146147#include <sys/sysinfo.h>
Original file line number Diff line number Diff line change 181181#define DT_FIFO __WASI_FILETYPE_SOCKET_STREAM
182182#define DT_LNK __WASI_FILETYPE_SYMBOLIC_LINK
183183#define DT_REG __WASI_FILETYPE_REGULAR_FILE
184+ #define DT_SOCK 20
184185#define DT_UNKNOWN __WASI_FILETYPE_UNKNOWN
185186#define D_FMT 0x20029
186187#define D_T_FMT 0x20028
16371638#define STRU_F 1
16381639#define STRU_P 3
16391640#define STRU_R 2
1641+ #define ST_APPEND 256
1642+ #define ST_IMMUTABLE 512
1643+ #define ST_MANDLOCK 64
1644+ #define ST_NOATIME 1024
1645+ #define ST_NODEV 4
1646+ #define ST_NODIRATIME 2048
1647+ #define ST_NOEXEC 8
1648+ #define ST_NOSUID 2
1649+ #define ST_RDONLY 1
1650+ #define ST_RELATIME 4096
1651+ #define ST_SYNCHRONOUS 16
1652+ #define ST_WRITE 128
16401653#define SUN_LEN(s) (2+strlen((s)->sun_path))
16411654#define SUSP 237
16421655#define SYMLOOP_MAX 40
16511664#define S_IFBLK (0x6000)
16521665#define S_IFCHR (0x2000)
16531666#define S_IFDIR (0x4000)
1654- #define S_IFIFO (0xc000 )
1667+ #define S_IFIFO (0x1000 )
16551668#define S_IFLNK (0xa000)
16561669#define S_IFMT (S_IFBLK | S_IFCHR | S_IFDIR | S_IFIFO | S_IFLNK | S_IFREG | S_IFSOCK)
16571670#define S_IFREG (0x8000)
20182031#define _Complex_I (0.0f+1.0fi)
20192032#define _DIRENT_H
20202033#define _DIRENT_HAVE_D_TYPE
2021- #define _DLFCN_H
2034+ #define _DLFCN_H
20222035#define _ENDIAN_H
20232036#define _ERRNO_H
20242037#define _ERR_H
23232336#define _SYS_REG_H
23242337#define _SYS_SELECT_H
23252338#define _SYS_SOCKET_H
2339+ #define _SYS_STATVFS_H
23262340#define _SYS_STAT_H
23272341#define _SYS_SYSCALL_H
23282342#define _SYS_SYSINFO_H
31463160#define fsfilcnt64_t fsfilcnt_t
31473161#define fstat64 fstat
31483162#define fstatat64 fstatat
3163+ #define fstatvfs64 fstatvfs
31493164#define ftello64 ftello
31503165#define ftruncate64 ftruncate
31513166#define getdents64 getdents
33293344#define st_mtime st_mtim.tv_sec
33303345#define stat64 stat
33313346#define static_assert _Static_assert
3347+ #define statvfs64 statvfs
33323348#define stderr (stderr)
33333349#define stdin (stdin)
33343350#define stdout (stdout)
You can’t perform that action at this time.
0 commit comments