|
RTEMS CPU Kit with SuperCore
4.11.2
|
#include <sys/cdefs.h>#include <sys/param.h>#include <sys/stat.h>#include <sys/time.h>#include <utime.h>#include <err.h>#include <errno.h>#include <fcntl.h>#include <fts.h>#include <limits.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#include "extern-cp.h"
Macros | |
| #define | lchmod chmod |
| #define | lchown chown |
| #define | cp_pct(x, y) ((y == 0) ? 0 : (int)(100.0 * (x) / (y))) |
| #define | MAX_READ max_read |
| #define | YESNO "(y/n [n]) " |
| #define | TIMESPEC_TO_TIMEVAL(tv, ts) |
| #define | st_atimespec st_atime |
| #define | st_mtimespec st_mtime |
| #define | lutimes utimes |
Functions | |
| int | set_utimes (const char *file, struct stat *fs) |
| int | copy_file (rtems_shell_cp_globals *cp_globals, FTSENT *entp, int dne) |
| int | copy_link (rtems_shell_cp_globals *cp_globals, FTSENT *p, int exists) |
| int | copy_fifo (rtems_shell_cp_globals *cp_globals, struct stat *from_stat, int exists) |
| int | copy_special (rtems_shell_cp_globals *cp_globals, struct stat *from_stat, int exists) |
| int | setfile (rtems_shell_cp_globals *cp_globals, struct stat *fs, int fd) |
| int | preserve_fd_acls (int source_fd, int dest_fd) |
| int | preserve_dir_acls (struct stat *fs, char *source_dir, char *dest_dir) |
| void | usage (rtems_shell_cp_globals *cp_globals) |
| #define TIMESPEC_TO_TIMEVAL | ( | tv, | |
| ts | |||
| ) |
1.8.13