Changeset View
Changeset View
Standalone View
Standalone View
bin/cp/extern.h
| Show All 31 Lines | |||||
| typedef struct { | typedef struct { | ||||
| int dir; /* base directory handle */ | int dir; /* base directory handle */ | ||||
| char base[PATH_MAX + 1]; /* base directory path */ | char base[PATH_MAX + 1]; /* base directory path */ | ||||
| char *end; /* pointer to NUL at end of path */ | char *end; /* pointer to NUL at end of path */ | ||||
| char path[PATH_MAX]; /* target path */ | char path[PATH_MAX]; /* target path */ | ||||
| } PATH_T; | } PATH_T; | ||||
| extern PATH_T to; | extern PATH_T to; | ||||
| extern int Nflag, fflag, iflag, lflag, nflag, pflag, sflag, vflag; | extern bool Nflag, fflag, iflag, lflag, nflag, pflag, sflag, vflag; | ||||
| extern volatile sig_atomic_t info; | extern volatile sig_atomic_t info; | ||||
| __BEGIN_DECLS | __BEGIN_DECLS | ||||
| int copy_fifo(struct stat *, bool, bool); | int copy_fifo(struct stat *, bool, bool); | ||||
| int copy_file(const FTSENT *, bool, bool); | int copy_file(const FTSENT *, bool, bool); | ||||
| int copy_link(const FTSENT *, bool, bool); | int copy_link(const FTSENT *, bool, bool); | ||||
| int copy_special(struct stat *, bool, bool); | int copy_special(struct stat *, bool, bool); | ||||
| int setfile(struct stat *, int, bool); | int setfile(struct stat *, int, bool); | ||||
| Show All 16 Lines | |||||