Sign in
third-party-mirror
/
mingw-w64
/
23275a7d2df57ab21c3a0e12112e2c5c7e6a76de
/
.
/
mingw-w64-crt
/
testcases
/
t_fstat.c
blob: ecbaa1cd0db32907cfce209f168e5679bfa2f09e [
file
] [
log
] [
blame
]
#include
<stdio.h>
#include
<sys/types.h>
#include
<sys/stat.h>
int
main
(
int
argc
,
char
*
argv
[])
{
struct
stat st
;
if
(
0
==
fstat
(
0
,
&
st
))
printf
(
"mode = %x\n"
,
st
.
st_mode
);
return
0
;
}