Lines Matching defs:to
4 * The contents of this file are subject to the terms of the
25 * Use is subject to license terms.
49 * Move directory contents from one place to another
52 move_dir(char *from, char *to, char *login)
53 /* directory to move files from */
54 /* dirctory to move files to */
69 from, to);
72 errmsg(M_NOSPACE, from, to);
77 * Check that to dir is not a subdirectory of from
80 if (strncmp(from, to, len) == 0 &&
81 strncmp(to+len, "/", 1) == 0) {
87 chmod(to, statbuf.st_mode);
90 (void) utime(to, ×);