Sign in
pigweed
/
third_party
/
rust_crates
/
refs/heads/main
/
.
/
crates_std
/
vendor
/
nix-0.28.0
/
test
/
sys
/
test_statvfs.rs
blob: 5c80965253de592a1642ac615a472f84fb72ac09 [
file
] [
log
] [
blame
] [
edit
]
use
nix
::
sys
::
statvfs
::*;
use
std
::
fs
::
File
;
#[
test
]
fn
statvfs_call
()
{
statvfs
(&
b
"/"
[..]).
unwrap
();
}
#[
test
]
fn
fstatvfs_call
()
{
let
root
=
File
::
open
(
"/"
).
unwrap
();
fstatvfs
(&
root
).
unwrap
();
}