Lines Matching refs:file
4 * The contents of this file are subject to the terms of the
6 * (the "License"). You may not use this file except in compliance
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
36 * f1 -> source file name
37 * f2 -> destination file name
59 DEBUG(4, "file name is %s\n", f2);
76 DEBUG(5, "open of file returned errno %d\n", errno);
80 DEBUG(4, "using file name directly.%s\n", "");
130 /* copy file */
140 * toCorrupt - move file to CORRUPTDIR
145 toCorrupt(file)
146 char *file;
150 (void) sprintf(corrupt, "%s/%s", CORRUPTDIR, BASENAME(file, '/'));
151 (void) link(file, corrupt);
152 ASSERT(unlink(file) == 0, Ct_UNLINK, file, errno);
183 * f1 -> source file name
184 * f2 -> destination file name
213 /* do file copy as read uid */
232 * put file in public place
239 putinpub(file, tmp, user)
240 char *file, *user, *tmp;
250 (void) strcat(fullname, BASENAME(file, '/'));
253 (void) strcpy(file, fullname);