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 += \
446
446
"bits/shm.h" "bits/msg.h" "bits/ipc.h" "bits/ptrace.h" \
447
447
"bits/statfs.h" \
448
448
"sys/vfs.h" \
449
- "sys/statvfs.h" \
450
449
"syslog.h" "sys/syslog.h" \
451
450
"wait.h" "sys/wait.h" \
452
451
"ucontext.h" "sys/ucontext.h" \
Original file line number Diff line number Diff line change 449
449
cexpf
450
450
cexpl
451
451
chdir
452
+ chmod
452
453
cimag
453
454
cimagf
454
455
cimagl
550
551
fabsf
551
552
fabsl
552
553
faccessat
554
+ fchmod
555
+ fchmodat
553
556
fclose
554
557
fcntl
555
558
fcvt
@@ -701,6 +704,7 @@ fsetpos
701
704
fsetpos64
702
705
fstat
703
706
fstatat
707
+ fstatvfs
704
708
fsync
705
709
ftell
706
710
ftello
@@ -1121,6 +1125,7 @@ srand48
1121
1125
srandom
1122
1126
sscanf
1123
1127
stat
1128
+ statvfs
1124
1129
stderr
1125
1130
stderr_get_stderr
1126
1131
stdin
Original file line number Diff line number Diff line change 141
141
#include <sys/select.h>
142
142
#include <sys/socket.h>
143
143
#include <sys/stat.h>
144
+ #include <sys/statvfs.h>
144
145
#include <sys/stropts.h>
145
146
#include <sys/syscall.h>
146
147
#include <sys/sysinfo.h>
Original file line number Diff line number Diff line change 181
181
#define DT_FIFO __WASI_FILETYPE_SOCKET_STREAM
182
182
#define DT_LNK __WASI_FILETYPE_SYMBOLIC_LINK
183
183
#define DT_REG __WASI_FILETYPE_REGULAR_FILE
184
+ #define DT_SOCK 20
184
185
#define DT_UNKNOWN __WASI_FILETYPE_UNKNOWN
185
186
#define D_FMT 0x20029
186
187
#define D_T_FMT 0x20028
1731
1732
#define STRU_F 1
1732
1733
#define STRU_P 3
1733
1734
#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
1734
1747
#define SUN_LEN(s) (2+strlen((s)->sun_path))
1735
1748
#define SUSP 237
1736
1749
#define SYMLOOP_MAX 40
1745
1758
#define S_IFBLK (0x6000)
1746
1759
#define S_IFCHR (0x2000)
1747
1760
#define S_IFDIR (0x4000)
1748
- #define S_IFIFO (0xc000 )
1761
+ #define S_IFIFO (0x1000 )
1749
1762
#define S_IFLNK (0xa000)
1750
1763
#define S_IFMT (S_IFBLK | S_IFCHR | S_IFDIR | S_IFIFO | S_IFLNK | S_IFREG | S_IFSOCK)
1751
1764
#define S_IFREG (0x8000)
2420
2433
#define _SYS_REG_H
2421
2434
#define _SYS_SELECT_H
2422
2435
#define _SYS_SOCKET_H
2436
+ #define _SYS_STATVFS_H
2423
2437
#define _SYS_STAT_H
2424
2438
#define _SYS_SYSCALL_H
2425
2439
#define _SYS_SYSINFO_H
3244
3258
#define fsfilcnt64_t fsfilcnt_t
3245
3259
#define fstat64 fstat
3246
3260
#define fstatat64 fstatat
3261
+ #define fstatvfs64 fstatvfs
3247
3262
#define ftello64 ftello
3248
3263
#define ftruncate64 ftruncate
3249
3264
#define getdents64 getdents
3427
3442
#define st_mtime st_mtim.tv_sec
3428
3443
#define stat64 stat
3429
3444
#define static_assert _Static_assert
3445
+ #define statvfs64 statvfs
3430
3446
#define stderr (stderr)
3431
3447
#define stdin (stdin)
3432
3448
#define stdout (stdout)
Original file line number Diff line number Diff line change 511
511
cexpf
512
512
cexpl
513
513
chdir
514
+ chmod
514
515
cimag
515
516
cimagf
516
517
cimagl
607
608
fabsf
608
609
fabsl
609
610
faccessat
611
+ fchmod
612
+ fchmodat
610
613
fclose
611
614
fcntl
612
615
fcvt
@@ -702,6 +705,7 @@ fsetpos
702
705
fsetpos64
703
706
fstat
704
707
fstatat
708
+ fstatvfs
705
709
fsync
706
710
ftell
707
711
ftello
@@ -1162,6 +1166,7 @@ srand48
1162
1166
srandom
1163
1167
sscanf
1164
1168
stat
1169
+ statvfs
1165
1170
stderr
1166
1171
stdin
1167
1172
stdout
Original file line number Diff line number Diff line change 142
142
#include <sys/select.h>
143
143
#include <sys/socket.h>
144
144
#include <sys/stat.h>
145
+ #include <sys/statvfs.h>
145
146
#include <sys/stropts.h>
146
147
#include <sys/syscall.h>
147
148
#include <sys/sysinfo.h>
Original file line number Diff line number Diff line change 181
181
#define DT_FIFO __WASI_FILETYPE_SOCKET_STREAM
182
182
#define DT_LNK __WASI_FILETYPE_SYMBOLIC_LINK
183
183
#define DT_REG __WASI_FILETYPE_REGULAR_FILE
184
+ #define DT_SOCK 20
184
185
#define DT_UNKNOWN __WASI_FILETYPE_UNKNOWN
185
186
#define D_FMT 0x20029
186
187
#define D_T_FMT 0x20028
1671
1672
#define STRU_F 1
1672
1673
#define STRU_P 3
1673
1674
#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
1674
1687
#define SUN_LEN(s) (2+strlen((s)->sun_path))
1675
1688
#define SUSP 237
1676
1689
#define SYMLOOP_MAX 40
1685
1698
#define S_IFBLK (0x6000)
1686
1699
#define S_IFCHR (0x2000)
1687
1700
#define S_IFDIR (0x4000)
1688
- #define S_IFIFO (0xc000 )
1701
+ #define S_IFIFO (0x1000 )
1689
1702
#define S_IFLNK (0xa000)
1690
1703
#define S_IFMT (S_IFBLK | S_IFCHR | S_IFDIR | S_IFIFO | S_IFLNK | S_IFREG | S_IFSOCK)
1691
1704
#define S_IFREG (0x8000)
2052
2065
#define _Complex_I (0.0f+1.0fi)
2053
2066
#define _DIRENT_H
2054
2067
#define _DIRENT_HAVE_D_TYPE
2055
- #define _DLFCN_H
2068
+ #define _DLFCN_H
2056
2069
#define _ENDIAN_H
2057
2070
#define _ERRNO_H
2058
2071
#define _ERR_H
2360
2373
#define _SYS_REG_H
2361
2374
#define _SYS_SELECT_H
2362
2375
#define _SYS_SOCKET_H
2376
+ #define _SYS_STATVFS_H
2363
2377
#define _SYS_STAT_H
2364
2378
#define _SYS_SYSCALL_H
2365
2379
#define _SYS_SYSINFO_H
3185
3199
#define fsfilcnt64_t fsfilcnt_t
3186
3200
#define fstat64 fstat
3187
3201
#define fstatat64 fstatat
3202
+ #define fstatvfs64 fstatvfs
3188
3203
#define ftello64 ftello
3189
3204
#define ftruncate64 ftruncate
3190
3205
#define getdents64 getdents
3371
3386
#define st_mtime st_mtim.tv_sec
3372
3387
#define stat64 stat
3373
3388
#define static_assert _Static_assert
3389
+ #define statvfs64 statvfs
3374
3390
#define stderr (stderr)
3375
3391
#define stdin (stdin)
3376
3392
#define stdout (stdout)
Original file line number Diff line number Diff line change 447
447
cexpf
448
448
cexpl
449
449
chdir
450
+ chmod
450
451
cimag
451
452
cimagf
452
453
cimagl
543
544
fabsf
544
545
fabsl
545
546
faccessat
547
+ fchmod
548
+ fchmodat
546
549
fclose
547
550
fcntl
548
551
fcvt
@@ -637,6 +640,7 @@ fsetpos
637
640
fsetpos64
638
641
fstat
639
642
fstatat
643
+ fstatvfs
640
644
fsync
641
645
ftell
642
646
ftello
@@ -1012,6 +1016,7 @@ srand48
1012
1016
srandom
1013
1017
sscanf
1014
1018
stat
1019
+ statvfs
1015
1020
stderr
1016
1021
stdin
1017
1022
stdout
Original file line number Diff line number Diff line change 141
141
#include <sys/select.h>
142
142
#include <sys/socket.h>
143
143
#include <sys/stat.h>
144
+ #include <sys/statvfs.h>
144
145
#include <sys/stropts.h>
145
146
#include <sys/syscall.h>
146
147
#include <sys/sysinfo.h>
Original file line number Diff line number Diff line change 181
181
#define DT_FIFO __WASI_FILETYPE_SOCKET_STREAM
182
182
#define DT_LNK __WASI_FILETYPE_SYMBOLIC_LINK
183
183
#define DT_REG __WASI_FILETYPE_REGULAR_FILE
184
+ #define DT_SOCK 20
184
185
#define DT_UNKNOWN __WASI_FILETYPE_UNKNOWN
185
186
#define D_FMT 0x20029
186
187
#define D_T_FMT 0x20028
1637
1638
#define STRU_F 1
1638
1639
#define STRU_P 3
1639
1640
#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
1640
1653
#define SUN_LEN(s) (2+strlen((s)->sun_path))
1641
1654
#define SUSP 237
1642
1655
#define SYMLOOP_MAX 40
1651
1664
#define S_IFBLK (0x6000)
1652
1665
#define S_IFCHR (0x2000)
1653
1666
#define S_IFDIR (0x4000)
1654
- #define S_IFIFO (0xc000 )
1667
+ #define S_IFIFO (0x1000 )
1655
1668
#define S_IFLNK (0xa000)
1656
1669
#define S_IFMT (S_IFBLK | S_IFCHR | S_IFDIR | S_IFIFO | S_IFLNK | S_IFREG | S_IFSOCK)
1657
1670
#define S_IFREG (0x8000)
2018
2031
#define _Complex_I (0.0f+1.0fi)
2019
2032
#define _DIRENT_H
2020
2033
#define _DIRENT_HAVE_D_TYPE
2021
- #define _DLFCN_H
2034
+ #define _DLFCN_H
2022
2035
#define _ENDIAN_H
2023
2036
#define _ERRNO_H
2024
2037
#define _ERR_H
2323
2336
#define _SYS_REG_H
2324
2337
#define _SYS_SELECT_H
2325
2338
#define _SYS_SOCKET_H
2339
+ #define _SYS_STATVFS_H
2326
2340
#define _SYS_STAT_H
2327
2341
#define _SYS_SYSCALL_H
2328
2342
#define _SYS_SYSINFO_H
3146
3160
#define fsfilcnt64_t fsfilcnt_t
3147
3161
#define fstat64 fstat
3148
3162
#define fstatat64 fstatat
3163
+ #define fstatvfs64 fstatvfs
3149
3164
#define ftello64 ftello
3150
3165
#define ftruncate64 ftruncate
3151
3166
#define getdents64 getdents
3329
3344
#define st_mtime st_mtim.tv_sec
3330
3345
#define stat64 stat
3331
3346
#define static_assert _Static_assert
3347
+ #define statvfs64 statvfs
3332
3348
#define stderr (stderr)
3333
3349
#define stdin (stdin)
3334
3350
#define stdout (stdout)
You can’t perform that action at this time.
0 commit comments