add -p option, preserving file timestamps

This commit is contained in:
Ryo Nakamura
2024-02-06 16:15:43 +09:00
parent ff45d9d71b
commit a7f8ad948b
10 changed files with 100 additions and 23 deletions

View File

@@ -7,6 +7,7 @@
int nr_cpus(void);
int set_thread_affinity(pthread_t tid, int core);
int setutimes(const char *path, struct timespec atime, struct timespec mtime);
/*
* macOS does not support sem_init(). macOS (seems to) releases the