Searched defs:realfile (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/audio/audioconvert/
H A Dmain.cc73 char *realfile = NULL; local
301 realfile = infile;
302 get_realfile(realfile, &st);
305 if (access(realfile, W_OK)) {
313 i = strlen(realfile) + strlen(Suffix) + 1;
319 (void) sprintf(outfile, "%s%s", realfile, Suffix);
367 if (rename(outfile, realfile) < 0) {
370 outfile, realfile);
374 if (chmod(realfile, (int)st.st_mode) < 0) {
376 perror(realfile);
[all...]
/illumos-gate/usr/src/cmd/fwflash/common/
H A Dfwflash.c880 char *realfile; local
909 if ((realfile = calloc(1, PATH_MAX + 1)) == NULL) {
915 realfile = device;
919 * device filename in realfile.
921 if (realpath(device, realfile) == NULL) {
927 free(realfile);
929 realfile = device;
940 if (strcmp(curdev->access_devname, realfile) == 0) {
993 ((strncmp(device, realfile, strlen(device)) == 0) ?
994 realfile
[all...]
/illumos-gate/usr/src/cmd/sendmail/src/
H A Ddeliver.c5111 char *volatile realfile; local
5166 realfile = targetfile + len;
5193 realfile = targetfile + len;
5211 realfile = targetfile;
5427 if (realfile != targetfile)
5431 save = *realfile;
5432 *realfile = '\0';
5441 *realfile = save;
5445 sm_dprintf("mailfile: deliver to %s\n", realfile);
5505 err = stat(realfile,
[all...]

Completed in 259 milliseconds