/illumos-gate/usr/src/cmd/mail/ |
H A D | legal.c | 54 char dfile[MAXFILENAME]; local 67 strcpy(dfile, "."); 69 strcpy(dfile, "/"); 73 strncpy(dfile, file, sp - file); 74 dfile[sp - file] = '\0'; 76 if (access(dfile, A_WRITE) == CERROR)
|
/illumos-gate/usr/src/cmd/look/ |
H A D | look.c | 21 FILE *dfile; variable 74 dfile = fopen(filenam,"r"); 75 if(dfile==NULL) { 87 fseek(dfile,0L,2); 88 top = ftell(dfile); 91 fseek(dfile,mid,0); 93 c = getc(dfile); 114 fseek(dfile,bot,0); 115 while(ftell(dfile)<top) { 164 c = getc(dfile); [all...] |
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | bindings.c | 202 Dbg_bind_pltpad_to(Rt_map *lmp, Addr pltpad, const char *dfile, argument 211 NAME(lmp), dfile, sname);
|
H A D | relocate.c | 442 const char *dfile, const char *symname) 450 dfile, symname); 441 Dbg64_pltpad_to(Lm_list *lml, const char *file, Addr pltpad, const char *dfile, const char *symname) argument
|
/illumos-gate/usr/src/lib/libc/port/rt/ |
H A D | pos4obj.c | 131 char *dfile; local 176 if ((dfile = malloc(len)) == NULL) 179 (void) memset(dfile, 0, len); 180 (void) strcpy(dfile, objroot); 183 (void) strcat(dfile, type); 184 (void) strcat(dfile, path + 1); 185 return (dfile); 195 free(dfile); 201 (void) strcat(dfile, "."); 202 (void) strcat(dfile, (cons 297 char *dfile; local 348 char *dfile; local 370 char *dfile; local [all...] |
/illumos-gate/usr/src/cmd/units/ |
H A D | units.c | 23 char *dfile = "/usr/share/lib/unittab"; variable 108 file = dfile;
|
/illumos-gate/usr/src/cmd/fmthard/ |
H A D | fmthard.c | 138 char *dfile; local 151 dfile = NULL; 188 dfile = optarg; 258 if (eflag && ((dfile == NULL) || qflag)) { 291 if (!dfile && !vname) 297 if (dfile) { 298 if (strcmp(dfile, "-") == 0) { 305 if ((fp = fopen(dfile, "r")) == NULL) { 307 dfile);
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | collect.c | 748 char *dfile; local 752 dfile = queuename(e, DATAFL_LETTER); 753 if (stat(dfile, &st) < 0) 757 dfile, (long) st.st_size);
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | uucp.c | 488 char dfile[NAMESIZE]; local 586 gename(DATAPRE, s2, Grade, dfile); 596 0777, Nuser, dfile); 638 gename(DATAPRE, s2, Grade, dfile); 642 if (uidxcp(file1, dfile)) 645 (void) chmod(dfile, DFILEMODE); 650 file1, file2, User, Optns, dfile,
|
H A D | uux.c | 87 char dfile[NAMESIZE]; /* used for all data files from here */ local 454 gename(DATAPRE, Myname, 'B', dfile); 456 ASSERT(access(dfile, 0) != 0, Fl_EXISTS, dfile, errno); 457 fpd = fdopen(ret = creat(dfile, DFILEMODE), "w"); 458 ASSERT(ret >= 0 && fpd != NULL, Ct_OPEN, dfile, errno); 466 dfile, errno); 468 ASSERT(fflush(fpd) != EOF && ferror(fpd) == 0, Ct_WRITE, dfile, errno); local 476 GENSEND(fpc, dfile, dfile, dfil 756 ASSERT(fflush(fp) != EOF && ferror(fp) == 0, Ct_WRITE, dfile, errno); local 831 ASSERT(fflush(fp) != EOF && ferror(fp) == 0, Ct_WRITE, dfile, errno); local [all...] |
H A D | uuxqt.c | 833 char dfile[MAXFULLNAME], cfile[MAXFULLNAME], incmd[BUFSIZ]; local 1034 (void) strcpy(dfile, "/dev/null"); 1037 (void) snprintf(dfile, sizeof (dfile), "%s/%s", WORKSPACE, 1136 ret = shio(_Cmd, fin, dfile, errDfile); 1190 if ((xmv(dfile, fout)) != 0) { 1196 if (putinpub(fout, dfile, origuser) == 0) 1216 bname = BASENAME(dfile, '/'); 1223 wfcommit(dfile, BASENAME(dfile, '/'), sendsy [all...] |
/illumos-gate/usr/src/lib/auditd_plugins/remote/ |
H A D | audit_remote.c | 94 FILE *dfile; /* debug file */ variable 110 DPRINT((dfile, "Transmission queue max length set to %ld\n", 115 DPRINT((dfile, "Setting the transmission queue max length failed\n")); 133 DPRINT((dfile, "unable to get default port number\n")); 136 DPRINT((dfile, "low on buffer\n")); 142 DPRINT((dfile, "default port: %d\n", *port_default)); 224 DPRINT((dfile, "parsing %s\n", hosts_str)); 234 DPRINT((dfile, "parsing host:port:mech %s\n", hostportmech)); 277 DPRINT((dfile, "resolving address for %s\n", hostname)); 294 DPRINT((dfile, "hostentr [all...] |
/illumos-gate/usr/src/cmd/pcidr/ |
H A D | pcidr.c | 540 char *dfile = NULL, *plugin_path = NULL; local 583 dfile = optarg; 594 if (dfile != NULL) { 595 if (strcmp(dfile, "-") == 0) { 602 dfp = fopen(dfile, "a"); 605 dfile, strerror(errno));
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.glob.c | 921 * dfile is static as this is returned 924 static char dfile[MAXNAMLEN]; local 928 dp = dfile; 932 if (dp > dfile && *(dp - 1) != '/') 939 * dfile points to the absolute pathname. We are 942 return (rindex(dfile, '/') + 1);
|
/illumos-gate/usr/src/cmd/avs/sdbc/ |
H A D | sd_diag.c | 79 FILE *dfile; local 83 dfile = fopen(config_file, "r"); 84 if (dfile == NULL) { 90 if (fscanf(dfile, "%s %x", name[i], (uint_t *)&pattern[i]) == 100 (void) fclose(dfile);
|
/illumos-gate/usr/src/cmd/file/ |
H A D | file.c | 104 static char *dfile; variable 241 add_to_mlist(dfile, 0); 303 if (f_mkmtab(dfile, cflg, 0) == -1) { 324 if (f_mkmtab(dfile, cflg, 0) == -1) { 1716 if ((dfile = malloc(strlen(msg_locale) + 35)) == NULL) { 1722 (void) snprintf(dfile, strlen(msg_locale) + 35, 1724 if (stat(dfile, &statbuf) != 0) { 1725 (void) strcpy(dfile, "/etc/magic");
|
/illumos-gate/usr/src/ucbcmd/ls/ |
H A D | ls.c | 584 static char dfile[BUFSIZ]; local 591 (void) strcpy(dfile, file); 592 return (dfile); 594 (void) strcpy(dfile, dir); 596 (void) strcat(dfile, "/"); 597 (void) strcat(dfile, file); 598 return (dfile);
|
/illumos-gate/usr/src/cmd/ls/ |
H A D | ls.c | 2156 * dfile is static as this is returned by makename(). 2158 static char dfile[PATH_MAX + 1 + MAXNAMLEN + 1]; local 2161 dp = dfile; 2165 if (dp > dfile && *(dp - 1) != '/') 2171 return (dfile);
|
/illumos-gate/usr/src/uts/common/io/scsi/targets/ |
H A D | st.c | 15634 int dfile = un->un_pos.fileno; /* save current file */ local 15642 st_cmd(un, SCMD_SPACE, Fmk(dfile), SYNC_CMD))) { 15658 st_cmd(un, SCMD_SPACE, Fmk(dfile), SYNC_CMD) ||
|