Home
last modified time | relevance | path

Searched refs:dfile (Results 1 – 22 of 22) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/rt/
H A Dpos4obj.c129 char *dfile; in __pos4obj_name() local
174 if ((dfile = malloc(len)) == NULL) in __pos4obj_name()
177 (void) memset(dfile, 0, len); in __pos4obj_name()
178 (void) strcpy(dfile, objroot); in __pos4obj_name()
181 (void) strcat(dfile, type); in __pos4obj_name()
182 (void) strcat(dfile, path + 1); in __pos4obj_name()
183 return (dfile); in __pos4obj_name()
193 free(dfile); in __pos4obj_name()
199 (void) strcat(dfile, "."); in __pos4obj_name()
200 (void) strcat(dfile, (const char *)hashbuf); in __pos4obj_name()
[all …]
/illumos-gate/usr/src/uts/common/io/usb/
H A Dusbdevs2h.awk198 function dump_dfile(dfile)
200 printf("\n") > dfile
201 printf("const struct usb_knowndev usb_knowndevs[] = {\n") > dfile
203 printf("\t{\n") > dfile
205 products[i, 1], products[i, 1], products[i, 2]) > dfile
206 printf("\t ") > dfile
207 printf("0") > dfile
208 printf(",\n") > dfile
211 printf("\t \"") > dfile
216 printf(" ") > dfile
[all …]
/illumos-gate/usr/src/lib/auditd_plugins/remote/
H A Daudit_remote.c94 FILE *dfile; /* debug file */ variable
110 DPRINT((dfile, "Transmission queue max length set to %ld\n", in set_transq_count_max()
115 DPRINT((dfile, "Setting the transmission queue max length failed\n")); in set_transq_count_max()
133 DPRINT((dfile, "unable to get default port number\n")); in get_port_default()
136 DPRINT((dfile, "low on buffer\n")); in get_port_default()
142 DPRINT((dfile, "default port: %d\n", *port_default)); in get_port_default()
224 DPRINT((dfile, "parsing %s\n", hosts_str)); in parsehosts()
234 DPRINT((dfile, "parsing host:port:mech %s\n", hostportmech)); in parsehosts()
277 DPRINT((dfile, "resolving address for %s\n", hostname)); in parsehosts()
294 DPRINT((dfile, "hostentry: h_name=%s, addr_len=%d, addr=%s\n", in parsehosts()
[all …]
H A Dtransport.c187 DPRINT((dfile, "Protocol version proposal (size=%d): %.*s\n", in prot_ver_negotiate()
191 DPRINT((dfile, "Sending protocol version token failed\n")); in prot_ver_negotiate()
196 DPRINT((dfile, "Receiving protocol version token failed\n")); in prot_ver_negotiate()
207 DPRINT((dfile, "Verification of the protocol version strings " in prot_ver_negotiate()
224 DPRINT((dfile, "Memory allocation failed: %s\n", in prot_ver_negotiate()
232 DPRINT((dfile, "Concatenated version strings: %s\n", ver_str_concat)); in prot_ver_negotiate()
234 DPRINT((dfile, "Protocol version agreed.\n")); in prot_ver_negotiate()
253 DPRINT((dfile, "Creating socket for %s\n", host->h_name)); in sock_prepare()
280 DPRINT((dfile, "Socket created, fd=%d, connecting..\n", sock)); in sock_prepare()
288 DPRINT((dfile, "Connected to %s via fd=%d\n", host->h_name, in sock_prepare()
[all …]
H A Daudit_remote.h124 #define DPRINT(x) { (void) fprintf x; (void) fflush(dfile); }
130 extern FILE *dfile;
/illumos-gate/usr/src/cmd/bnu/
H A Duux.c87 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);
476 GENSEND(fpc, dfile, dfile, dfile);
482 (void) fprintf(fprx, "%c %s\n", X_RQDFILE, dfile);
483 (void) fprintf(fprx, "%c %s\n", X_STDIN, dfile);
[all …]
H A Duucp.c488 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 Duuxqt.c831 char dfile[MAXFULLNAME], cfile[MAXFULLNAME], incmd[BUFSIZ]; local
1032 (void) strcpy(dfile, "/dev/null");
1035 (void) snprintf(dfile, sizeof (dfile), "%s/%s", WORKSPACE,
1134 ret = shio(_Cmd, fin, dfile, errDfile);
1188 if ((xmv(dfile, fout)) != 0) {
1194 if (putinpub(fout, dfile, origuser) == 0)
1214 bname = BASENAME(dfile, '/');
1221 wfcommit(dfile, BASENAME(dfile, '/'), sendsys);
H A Dcntrl.c200 Pname(fileid, dfile, direct) in Pname() argument
202 char *dfile;
218 if (p = strrchr(dfile, '/')) { /* find the last slash */
223 DEBUG(7, "Point file (direct) =%s\n", dfile);
227 strcpy(dfile, RemSpool);
228 strcat(dfile, "/");
229 p = dfile + strlen(Dfile);
230 strcat(dfile, fileid);
232 DEBUG(7, "Point file=%s\n", dfile);
/illumos-gate/usr/src/cmd/look/
H A Dlook.c19 FILE *dfile; variable
72 dfile = fopen(filenam,"r"); in main()
73 if(dfile==NULL) { in main()
85 fseek(dfile,0L,2); in main()
86 top = ftell(dfile); in main()
89 fseek(dfile,mid,0); in main()
91 c = getc(dfile); in main()
112 fseek(dfile,bot,0); in main()
113 while(ftell(dfile)<top) { in main()
162 c = getc(dfile); in getword()
[all …]
/illumos-gate/usr/src/cmd/mail/
H A Dlegal.c53 char dfile[MAXFILENAME]; local
66 strcpy(dfile, ".");
68 strcpy(dfile, "/");
72 strncpy(dfile, file, sp - file);
73 dfile[sp - file] = '\0';
75 if (access(dfile, A_WRITE) == CERROR)
/illumos-gate/usr/src/cmd/fmthard/
H A Dfmthard.c141 char *dfile; in main() local
154 dfile = NULL; in main()
191 dfile = optarg; in main()
261 if (eflag && ((dfile == NULL) || qflag)) { in main()
294 if (!dfile && !vname) in main()
300 if (dfile) { in main()
301 if (strcmp(dfile, "-") == 0) { in main()
308 if ((fp = fopen(dfile, "r")) == NULL) { in main()
310 dfile); in main()
/illumos-gate/usr/src/cmd/pcidr/
H A Dpcidr.c540 char *dfile = NULL, *plugin_path = NULL; in main() local
583 dfile = optarg; in main()
594 if (dfile != NULL) { in main()
595 if (strcmp(dfile, "-") == 0) { in main()
601 dfp = fopen(dfile, "a"); in main()
604 dfile, strerror(errno)); in main()
/illumos-gate/usr/src/ucbcmd/ls/
H A Dls.c582 static char dfile[BUFSIZ]; in cat() local
589 (void) strcpy(dfile, file); in cat()
590 return (dfile); in cat()
592 (void) strcpy(dfile, dir); in cat()
594 (void) strcat(dfile, "/"); in cat()
595 (void) strcat(dfile, file); in cat()
596 return (dfile); in cat()
/illumos-gate/usr/src/cmd/file/
H A Dfile.c105 static char *dfile; variable
242 add_to_mlist(dfile, 0); in main()
304 if (f_mkmtab(dfile, cflg, 0) == -1) { in main()
325 if (f_mkmtab(dfile, cflg, 0) == -1) { in main()
1809 if ((dfile = malloc(strlen(msg_locale) + 35)) == NULL) { in default_magic()
1815 (void) snprintf(dfile, strlen(msg_locale) + 35, in default_magic()
1817 if (stat(dfile, &statbuf) != 0) { in default_magic()
1818 (void) strcpy(dfile, "/etc/magic"); in default_magic()
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dbindings.c202 Dbg_bind_pltpad_to(Rt_map *lmp, Addr pltpad, const char *dfile, in Dbg_bind_pltpad_to() argument
211 NAME(lmp), dfile, sname); in Dbg_bind_pltpad_to()
H A Drelocate.c442 const char *dfile, const char *symname) in Dbg64_pltpad_to() argument
450 dfile, symname); in Dbg64_pltpad_to()
/illumos-gate/usr/src/cmd/csh/
H A Dsh.glob.c927 static char dfile[MAXNAMLEN]; in makename() local
931 dp = dfile; in makename()
935 if (dp > dfile && *(dp - 1) != '/') in makename()
945 return (rindex(dfile, '/') + 1); in makename()
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dcollect.c748 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/units/
H A Dunits.c21 char *dfile = "/usr/share/lib/unittab"; variable
106 file = dfile; in main()
/illumos-gate/usr/src/cmd/ls/
H A Dls.c2177 static char dfile[PATH_MAX + 1 + MAXNAMLEN + 1]; in makename() local
2180 dp = dfile; in makename()
2184 if (dp > dfile && *(dp - 1) != '/') in makename()
2190 return (dfile); in makename()
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dst.c15636 int dfile = un->un_pos.fileno; /* save current file */ in st_space_records() local
15644 st_cmd(un, SCMD_SPACE, Fmk(dfile), SYNC_CMD))) { in st_space_records()
15660 st_cmd(un, SCMD_SPACE, Fmk(dfile), SYNC_CMD) || in st_space_records()