Sign in
chromium
/
external
/
github.com
/
kripken
/
emscripten
/
refs/heads/executable_output
/
.
/
test
/
unistd
/
fstatfs.c
blob: 6d9cf08d2413badc9233596734605ed3a2dc7664 [
file
] [
edit
]
#include
<assert.h>
#include
<stdio.h>
#include
<sys/vfs.h>
#include
<unistd.h>
int
main
()
{
struct
statfs buf
;
int
rtn
=
fstatfs
(
STDOUT_FILENO
,
&
buf
);
assert
(
rtn
==
0
);
printf
(
"f_type: %ld\n"
,
buf
.
f_type
);
return
0
;
}