Mercurial > cpython-lru_cache-weakref
view Mac/Python/macgetmtime.c @ 2183:62bdded5f00a legacy-trunk
modernized/rationalized, added PyMac_BuildOSType
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Wed, 18 Jan 1995 23:57:26 +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; }
