Mercurial > cpython-lru_cache-weakref
view Mac/Python/macgetmtime.c @ 1590:ac2e5cc29949 legacy-trunk
Added tests for missing host to open_http and open_gopher
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Mon, 18 Apr 1994 09:39:56 +0000 |
| parents | 877073b9f8c3 |
| children | fa8bbd09f2e6 |
line wrap: on
line source
#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; }
