File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
src/unix/bsd/netbsdlike/openbsd Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -497,6 +497,9 @@ MSG_CMSG_CLOEXEC
497497MSG_DONTWAIT
498498MSG_MCAST
499499MSG_NOSIGNAL
500+ MNT_LAZY
501+ MNT_NOWAIT
502+ MNT_WAIT
500503NET_RT_DUMP
501504NET_RT_FLAGS
502505NET_RT_IFLIST
@@ -999,6 +1002,7 @@ futimes
9991002getdomainname
10001003getdtablesize
10011004getentropy
1005+ getfsstat
10021006getgrent
10031007getgrgid
10041008getgrgid_r
@@ -1010,6 +1014,7 @@ getifaddrs
10101014getitimer
10111015getline
10121016getloadavg
1017+ getmntinfo
10131018getnameinfo
10141019getpeereid
10151020getpriority
Original file line number Diff line number Diff line change @@ -1639,6 +1639,10 @@ pub const SF_ARCHIVED: ::c_uint = 0x00010000;
16391639pub const SF_IMMUTABLE : :: c_uint = 0x00020000 ;
16401640pub const SF_APPEND : :: c_uint = 0x00040000 ;
16411641
1642+ pub const MNT_WAIT : :: c_int = 1 ;
1643+ pub const MNT_NOWAIT : :: c_int = 2 ;
1644+ pub const MNT_LAZY : :: c_int = 3 ;
1645+
16421646const_fn ! {
16431647 { const } fn _ALIGN( p: usize ) -> usize {
16441648 ( p + _ALIGNBYTES) & !_ALIGNBYTES
@@ -1880,6 +1884,8 @@ cfg_if! {
18801884 // these functions use statfs which uses the union mount_info:
18811885 pub fn statfs( path: * const :: c_char, buf: * mut statfs) -> :: c_int;
18821886 pub fn fstatfs( fd: :: c_int, buf: * mut statfs) -> :: c_int;
1887+ pub fn getmntinfo( mntbufp: * mut * mut :: statfs, flags: :: c_int) -> :: c_int;
1888+ pub fn getfsstat( buf: * mut statfs, bufsize: :: size_t, flags: :: c_int) -> :: c_int;
18831889 }
18841890 }
18851891}
You can’t perform that action at this time.
0 commit comments