File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed
src/unix/linux_like/linux/gnu Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,13 @@ FUTEXFS_SUPER_MAGIC
5151GENL_ID_PMCRAID
5252GENL_ID_VFS_DQUOT
5353GENL_UNS_ADMIN_PERM
54+ GLOB_ALTDIRFUNC
55+ GLOB_BRACE
56+ GLOB_NOMAGIC
57+ GLOB_ONLYDIR
58+ GLOB_PERIOD
59+ GLOB_TILDE
60+ GLOB_TILDE_CHECK
5461HOSTFS_SUPER_MAGIC
5562HPFS_SUPER_MAGIC
5663HUGETLBFS_MAGIC
Original file line number Diff line number Diff line change @@ -1083,6 +1083,16 @@ pub const TIME_ERROR: ::c_int = 5;
10831083pub const TIME_BAD : :: c_int = TIME_ERROR ;
10841084pub const MAXTC : :: c_long = 6 ;
10851085
1086+ // Portable GLOB_* flags are defined at the `linux_like` level.
1087+ // The following are GNU extensions.
1088+ pub const GLOB_PERIOD : :: c_int = 1 << 7 ;
1089+ pub const GLOB_ALTDIRFUNC : :: c_int = 1 << 9 ;
1090+ pub const GLOB_BRACE : :: c_int = 1 << 10 ;
1091+ pub const GLOB_NOMAGIC : :: c_int = 1 << 11 ;
1092+ pub const GLOB_TILDE : :: c_int = 1 << 12 ;
1093+ pub const GLOB_ONLYDIR : :: c_int = 1 << 13 ;
1094+ pub const GLOB_TILDE_CHECK : :: c_int = 1 << 14 ;
1095+
10861096cfg_if ! {
10871097 if #[ cfg( any(
10881098 target_arch = "arm" ,
You can’t perform that action at this time.
0 commit comments