mirror of
https://github.com/python/cpython.git
synced 2024-12-01 11:15:56 +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;
|
|
}
|