Sign in
third-party-mirror
/
mingw-w64
/
7dd72a98cd25a792cf65a59e43b337840e81d96e
/
.
/
mingw-w64-crt
/
testcases
/
t_stat.c
blob: 5f3c4c56da7f3fb143aed027488910c309522239 [
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
==
stat
(
argv
[
0
],
&
st
))
printf
(
"mode = %x\n"
,
st
.
st_mode
);
return
0
;
}