Mercurial > cpython-lru_cache-weakref
view Mac/Python/macgetmtime.c @ 3930:52c19ee83a6b legacy-trunk
Guido's 1.4b2 fixes: Py_GetProgramName, Py_GetPrefix and Py_GetExecPrefix.
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Fri, 02 Aug 1996 15:16:16 +0000 |
| parents | c57b5c50a2d2 |
| children | d6b292a33cfe |
line wrap: on
line source
#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; }
