Home
last modified time | relevance | path

Searched refs:todir (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_statd.c98 static int move_file(char *fromdir, char *file, char *todir);
889 move_file(char *fromdir, char *file, char *todir) in move_file() argument
916 if (create_symlink(todir, rname, file) != 0) { in move_file()
923 (void) strcpy(to, todir); in move_file()
947 create_symlink(char *todir, char *rname, char *lname) in create_symlink() argument
955 (void) strcpy(lpath, todir); in create_symlink()
967 "%s/%s -> %s\n", todir, lname, rname); in create_symlink()
976 todir, lname, rname); in create_symlink()
979 todir, lname, rname); in create_symlink()
H A Dsm_statd.h219 extern int create_symlink(char *todir, char *rname, char *lname);
/titanic_41/usr/src/cmd/refer/
H A Dhunt1.c35 char *todir();
143 strcpy(nma, todir(argv[1])); in main()
278 todir(char *t) in todir() function
H A Dglue1.c57 char *todir(char *);
140 strcpy(indexname, todir(argv[1])); in huntmain()
292 todir(char *t) in todir() function
/titanic_41/usr/src/cmd/backup/restore/
H A Drestore.c995 int fromfd, fromdir, tofd, todir, tfd; local
999 fromfd = tofd = fromdir = todir = tfd = -1;
1030 (todir = openat64(tofd, ".", O_RDONLY|O_NONBLOCK|O_XATTR)) == -1) {
1053 if ((renameat(fromdir, dp->d_name, todir, dp->d_name)) == -1) {
1069 if (todir != -1)
1070 (void) close(todir);