Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
30695fa3cde9826fec67037fef528d196449a5c3
/
.
/
Mac
/
Python
/
macgetmtime.c
blob: aeb1e70dbd9672e8e364e2d84c089a2189c67fa5 [
file
] [
log
] [
blame
]
#include
"macstat.h"
#include
"rename2.h"
/* Interfaced used by import.c */
long
getmtime
(
path
)
char
*
path
;
{
struct
macstat st
;
if
(
macstat
(
path
,
&
st
)
!=
0
)
return
-
1L
;
return
st
.
st_mtime
;
}