mirror of
https://github.com/python/cpython.git
synced 2024-11-28 08:20:55 +01:00
15 lines
200 B
C
15 lines
200 B
C
#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;
|
|
}
|