Searched defs:cfile (Results 1 - 23 of 23) sorted by relevance

/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_config.c96 char *cfile, *buf; local
102 if (cfile = getenv("SLP_CONF_FILE"))
103 fp = fopen(cfile, "rF");
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dlookup.c73 static int stlookuppn(struct st_pathname *pnp, struct nfs_file *cfile,
98 stlookuppn(struct st_pathname *pnp, struct nfs_file *cfile, argument
107 *cfile = roothandle; /* structure copy - start at the root. */
120 *cfile = roothandle;
129 if (!cfile_is_dir(cfile)) {
158 if (cfile == &roothandle)
182 switch (cfile->version) {
184 lkp = nfslookup(cfile, component, &error);
187 lkp = nfs3lookup(cfile, component, &error);
190 lkp = nfs4lookup(cfile, componen
[all...]
H A Dnfs2ops.c345 nfsgetsymlink(struct nfs_file *cfile, char **path) argument
358 xdr_nfs_fh, (caddr_t)&cfile->fh.fh2,
H A Dnfs3ops.c407 nfs3getsymlink(struct nfs_file *cfile, char **path) argument
416 linkargs.symlink.data.data_len = cfile->fh.fh3.len;
417 linkargs.symlink.data.data_val = cfile->fh.fh3.data;
H A Dnfs4ops.c595 nfs4getsymlink(struct nfs_file *cfile, char **path) argument
614 if (cfile->fh.fh4.len > 0)
616 &cfile->fh.fh4);
/illumos-gate/usr/src/lib/libsocket/inet/
H A Druserpass.c80 FILE *cfile; member in struct:ruserdata
164 d->cfile = fopen(buf, "rF");
165 if (d->cfile == NULL) {
195 if (fstat64(fileno(d->cfile), &stb) >= 0 &&
224 (void) fclose(d->cfile);
238 if (feof(d->cfile))
240 while ((c = getc(d->cfile)) != EOF &&
247 while ((c = getc(d->cfile)) != EOF && c != '"') {
249 c = getc(d->cfile);
254 while ((c = getc(d->cfile)) !
[all...]
/illumos-gate/usr/src/lib/libbc/libc/net/
H A Druserpass.c65 FILE *cfile; member in struct:ruserdata
141 d->cfile = fopen(buf, "r");
142 if (d->cfile == NULL) {
170 if (fstat(fileno(d->cfile), &stb) >= 0
194 fclose(d->cfile);
208 if (feof(d->cfile))
210 while ((c = getc(d->cfile)) != EOF &&
217 while ((c = getc(d->cfile)) != EOF && c != '"') {
219 c = getc(d->cfile);
224 while ((c = getc(d->cfile)) !
[all...]
/illumos-gate/usr/src/cmd/sendmail/aux/
H A Dmailstats.c57 char *cfile; local
74 cfile = getcfname(0, 0, SM_GET_SENDMAIL_CF, NULL);
84 cfile = getcfname(0, 0, SM_GET_SUBMIT_CF, NULL);
88 cfile = optarg;
121 if ((cfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, cfile, SM_IO_RDONLY,
127 sm_perror(cfile);
H A Dpraliases.c63 char *cfile; local
89 cfile = getcfname(0, 0, SM_GET_SENDMAIL_CF, NULL);
94 cfile = optarg;
116 if ((cfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, cfile, SM_IO_RDONLY,
120 "praliases: %s: %s\n", cfile,
H A Deditmap.c80 char *cfile; local
119 cfile = _PATH_SENDMAILCF;
142 cfile = optarg;
216 if ((cfp = fopen(cfile, "r")) == NULL)
219 cfile, sm_errstring(errno));
H A Dmakemap.c81 char *cfile; local
124 cfile = getcfname(0, 0, SM_GET_SENDMAIL_CF, NULL);
147 cfile = optarg;
240 if ((cfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, cfile, SM_IO_RDONLY,
244 cfile, sm_errstring(errno));
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Druserpass.c43 static FILE *cfile; variable
99 cfile = fopen(buf, "r");
100 if (cfile == NULL) {
137 if (fstat(fileno(cfile), &stb) >= 0 &&
155 if (fstat(fileno(cfile), &stb) >= 0 &&
176 while ((c = getc(cfile)) != EOF && c == ' ' ||
189 for (i = 0; i < 8 && (c = getc(cfile)) != EOF &&
201 while ((c = getc(cfile)) != EOF && c != '\n');
217 if ((c = getc(cfile)) == EOF) {
254 (void) fclose(cfile);
[all...]
/illumos-gate/usr/src/cmd/bnu/
H A Duucp.c489 char cfile[NAMESIZE]; local
591 cfp = syscfile(cfile, s1);
648 cfp = syscfile(cfile, s2);
667 * get the cfile for system sys (creat if need be)
671 * stream pointer to open cfile
H A Duux.c86 char cfile[NAMESIZE]; /* send commands for files from here */ local
380 * collect commands into cfile.
385 gename(CMDPRE, xsys, Grade, cfile);
386 DEBUG(9, "cfile = %s\n", cfile);
387 ASSERT(access(cfile, 0) != 0, Fl_EXISTS, cfile, errno);
388 fpc = fdopen(ret = creat(cfile, CFILEMODE), "w");
389 ASSERT(ret >= 0 && fpc != NULL, Ct_OPEN, cfile, errno);
393 STRNCPY(Jobid, BASENAME(cfile, '
912 ASSERT(fflush(fpc) != EOF && ferror(fpc) == 0, Ct_WRITE, cfile, errno); local
[all...]
H A Duuxqt.c833 char dfile[MAXFULLNAME], cfile[MAXFULLNAME], incmd[BUFSIZ]; local
1212 (void) snprintf(cfile, sizeof (cfile), "%s/%s",
1214 fp = fdopen(ret = creat(cfile, CFILEMODE), "w");
1215 ASSERT(ret >= 0 && fp != NULL, Ct_OPEN, cfile, errno);
1224 wfcommit(cfile, BASENAME(cfile, '/'), sendsys);
1259 (void) snprintf(cfile, sizeof (cfile), "%s/%s",
1261 fp = fdopen(ret = creat(cfile, CFILEMOD
[all...]
H A Duustat.c1233 char comparef[MAXBASENAME+1], afile[MAXBASENAME+1], cfile[MAXBASENAME+1]; local
1249 (void) strcpy(cfile, cdotfile);
1250 *strchr(cfile, 'C') = ' ';
1252 if (EQUALS(cfile, afile)) {
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipfcomp.c63 static FILE *cfile = NULL; variable
87 if (cfile == NULL)
88 cfile = fopen("ip_rules.c", "w");
89 if (cfile == NULL)
91 fp = cfile;
347 fprintf(cfile, "#endif /* IPFILTER_COMPILED */\n");
369 printhooks(cfile, incount, outcount, grp);
412 fprintf(cfile, "\n\
418 fprintf(cfile, "\
423 fprintf(cfile, "\
[all...]
/illumos-gate/usr/src/cmd/sgs/m4/common/
H A Dm4.c607 static int cfile = 0; local
612 if (nflag || ifx != cfile) {
614 cfile = ifx;
/illumos-gate/usr/src/test/libc-tests/tests/symbols/
H A Dsymbols_test.c35 char *cfile; variable
721 if (cfile != NULL) {
722 (void) unlink(cfile);
723 free(cfile);
724 cfile = NULL;
752 myasprintf(&cfile, "%s/compile_test.c", d);
768 if ((cf = fopen(cfile, "w+")) == NULL) {
769 test_failed(t, "Unable to open %s for write: %s", cfile,
790 compilers[i], MFLAG, cfile, efile);
855 if ((dotc = fopen(cfile, "
[all...]
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Delf.c1659 Addr base, fltr = 0, audit = 0, cfile = 0, crle = 0; local
1948 cfile = dyn->d_un.d_val;
2233 if (cfile)
2234 config->c_name = (const char *)(cfile +
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Doptions.c228 struct per_file *cfile; local
235 cfile = psp->ps_cfile;
238 if (cfile == NULL)
256 if (slp == &cfile->pf_global) {
266 cfile = cfile->pf_prev;
267 while (cfile != NULL) {
270 cfile->pf_global.sl_entry.se_flist;
274 cfile->pf_global.sl_entry.se_flist;
277 cfile
366 struct per_file *cfile; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/
H A Dipqosconf.c9842 viewcfile(char *cfile) argument
9852 ifp = fopen(cfile, "r");
9855 cfile, strerror(errno));
/illumos-gate/usr/src/uts/common/nfs/
H A Dnfs4_kprot.h956 char *cfile; member in struct:copen_claim_delegate_cur4
994 char *cfile; member in union:OPEN4cargs::__anon631

Completed in 178 milliseconds