mirror of
https://github.com/python/cpython.git
synced 2024-12-01 03:01:36 +01:00
14 lines
180 B
C
14 lines
180 B
C
#include "::unixemu:stat.h"
|
|
|
|
/* Interfaced used by import.c */
|
|
|
|
long
|
|
getmtime(path)
|
|
char *path;
|
|
{
|
|
struct stat st;
|
|
if (stat(path, &st) != 0)
|
|
return -1L;
|
|
return st.st_mtime;
|
|
}
|