Home
last modified time | relevance | path

Searched refs:cfile (Results 1 – 25 of 36) sorted by relevance

12

/titanic_41/usr/src/uts/common/os/
H A Dprivs.awk152 if (cfile) {
153 print ccmt > cfile
154 print acmt > cfile
198 if (cfile)
199 print > cfile
215 if (!pubhfile && !privhfile && !cfile && !pnamesfile) {
226 if (cfile) {
227 print "\n" > cfile
228 print pragma "\n"> cfile
229 print "#include <sys/types.h>" > cfile
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Druserpass.c43 static FILE *cfile; variable
99 cfile = fopen(buf, "r"); in rnetrc()
100 if (cfile == NULL) { in rnetrc()
137 if (fstat(fileno(cfile), &stb) >= 0 && in rnetrc()
155 if (fstat(fileno(cfile), &stb) >= 0 && in rnetrc()
176 while ((c = getc(cfile)) != EOF && c == ' ' || in rnetrc()
189 for (i = 0; i < 8 && (c = getc(cfile)) != EOF && in rnetrc()
201 while ((c = getc(cfile)) != EOF && c != '\n'); in rnetrc()
217 if ((c = getc(cfile)) == EOF) { in rnetrc()
254 (void) fclose(cfile); in rnetrc()
[all …]
/titanic_41/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, in stlookuppn() argument
107 *cfile = roothandle; /* structure copy - start at the root. */ in stlookuppn()
120 *cfile = roothandle; in stlookuppn()
129 if (!cfile_is_dir(cfile)) { in stlookuppn()
158 if (cfile == &roothandle) in stlookuppn()
182 switch (cfile->version) { in stlookuppn()
184 lkp = nfslookup(cfile, component, &error); in stlookuppn()
187 lkp = nfs3lookup(cfile, component, &error); in stlookuppn()
190 lkp = nfs4lookup(cfile, component, &error); in stlookuppn()
[all …]
H A Dnfs3ops.c407 nfs3getsymlink(struct nfs_file *cfile, char **path) in nfs3getsymlink() argument
416 linkargs.symlink.data.data_len = cfile->fh.fh3.len; in nfs3getsymlink()
417 linkargs.symlink.data.data_val = cfile->fh.fh3.data; in nfs3getsymlink()
H A Dnfs2ops.c345 nfsgetsymlink(struct nfs_file *cfile, char **path) in nfsgetsymlink() argument
358 xdr_nfs_fh, (caddr_t)&cfile->fh.fh2, in nfsgetsymlink()
H A Dnfs4ops.c595 nfs4getsymlink(struct nfs_file *cfile, char **path) in nfs4getsymlink() argument
614 if (cfile->fh.fh4.len > 0) in nfs4getsymlink()
616 &cfile->fh.fh4); in nfs4getsymlink()
/titanic_41/usr/src/lib/libbc/libc/net/
H A Druserpass.c65 FILE *cfile; member
141 d->cfile = fopen(buf, "r"); in rnetrc()
142 if (d->cfile == NULL) { in rnetrc()
170 if (fstat(fileno(d->cfile), &stb) >= 0 in rnetrc()
194 fclose(d->cfile); in rnetrc()
208 if (feof(d->cfile)) in token()
210 while ((c = getc(d->cfile)) != EOF && in token()
217 while ((c = getc(d->cfile)) != EOF && c != '"') { in token()
219 c = getc(d->cfile); in token()
224 while ((c = getc(d->cfile)) != EOF in token()
[all …]
/titanic_41/usr/src/lib/libsocket/inet/
H A Druserpass.c80 FILE *cfile; member
164 d->cfile = fopen(buf, "rF"); in rnetrc()
165 if (d->cfile == NULL) { in rnetrc()
195 if (fstat64(fileno(d->cfile), &stb) >= 0 && in rnetrc()
224 (void) fclose(d->cfile); in rnetrc()
238 if (feof(d->cfile)) in token()
240 while ((c = getc(d->cfile)) != EOF && in token()
247 while ((c = getc(d->cfile)) != EOF && c != '"') { in token()
249 c = getc(d->cfile); in token()
254 while ((c = getc(d->cfile)) != EOF && in token()
[all …]
/titanic_41/usr/src/tools/scripts/
H A Dgenoffsets.pl132 my ($cfile, $genfile);
133 open($cfile, '>', $CTmp) || bail("failed to create $CTmp: $!");
147 print $cfile $_;
149 print $cfile $_;
157 close($cfile) || bail("can't close $CTmp: $!");
/titanic_41/usr/src/cmd/dtrace/test/tst/common/misc/
H A Dtst.include.ksh41 cfile=${TMPDIR:-/tmp}/inc.$$.$file.c
43 cat > $cfile <<EOF
49 if $CC $CFLAGS -o $cofile $cfile >/dev/null 2>&1; then
66 rm -f $cofile $cfile 2>/dev/null
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_promote/
H A Dzfs_promote_001_pos.ksh104 cfile=/$clone/$CLONEFILE
114 log_must $MKFILE $FILESIZE $cfile
118 testing_verify $fs $file1 $snapfile $clone $cfile $csnapfile
123 testing_verify $clone $cfile $csnapfile $fs $file1 $snapfile
H A Dzfs_promote_004_pos.ksh84 set -A cfile "${cdir}/$CLONEFILE" "${cdir}/$CLONEFILE1" "${cdir}/$CLONEFILE2"
105 log_must $MKFILE $FILESIZE ${cfile[i]}
106 (( i>0 )) && log_must $RM -f ${cfile[(( i-1 ))]}
/titanic_41/usr/src/grub/grub-0.97/
H A Dcompile83 cfile=$1
96 if test -z "$ofile" || test -z "$cfile"; then
106 cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
/titanic_41/usr/src/cmd/sendmail/aux/
H A Dmailstats.c57 char *cfile; variable
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 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 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 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));
/titanic_41/usr/src/cmd/bnu/
H A Duux.c86 char cfile[NAMESIZE]; /* send commands for files from here */ local
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);
924 svcfile(cfile, xsys, Sgrade);
933 unlink(cfile);
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, CFILEMODE), "w");
1262 ASSERT(ret >= 0 && fp != NULL, Ct_OPEN, cfile, errno);
1271 wfcommit(cfile, BASENAME(cfile, '/'), sendsys);
H A Duucp.c489 char cfile[NAMESIZE]; local
591 cfp = syscfile(cfile, s1);
648 cfp = syscfile(cfile, s2);
/titanic_41/usr/src/test/libc-tests/tests/symbols/
H A Dsymbols_test.c34 char *cfile; variable
675 if (cfile != NULL) { in cleanup()
676 (void) unlink(cfile); in cleanup()
677 free(cfile); in cleanup()
678 cfile = NULL; in cleanup()
706 myasprintf(&cfile, "%s/compile_test.c", d); in mkworkdir()
722 if ((cf = fopen(cfile, "w+")) == NULL) { in find_compiler()
723 test_failed(t, "Unable to open %s for write: %s", cfile, in find_compiler()
744 compilers[i], MFLAG, cfile, efile); in find_compiler()
804 if ((dotc = fopen(cfile, "w+")) == NULL) { in do_compile()
[all …]
/titanic_41/usr/src/lib/libslp/clib/
H A Dslp_config.c96 char *cfile, *buf; in slp_readConfig() local
102 if (cfile = getenv("SLP_CONF_FILE")) in slp_readConfig()
103 fp = fopen(cfile, "rF"); in slp_readConfig()
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Doptions.c228 struct per_file *cfile; in close_service() local
235 cfile = psp->ps_cfile; in close_service()
238 if (cfile == NULL) in close_service()
256 if (slp == &cfile->pf_global) { in close_service()
266 cfile = cfile->pf_prev; in close_service()
267 while (cfile != NULL) { in close_service()
270 cfile->pf_global.sl_entry.se_flist; in close_service()
274 cfile->pf_global.sl_entry.se_flist; in close_service()
277 cfile = cfile->pf_prev; in close_service()
285 while (cfile != NULL) { in close_service()
[all …]
/titanic_41/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\ in emittail()
418 fprintf(cfile, "\ in emittail()
423 fprintf(cfile, "\ in emittail()
[all …]
/titanic_41/usr/src/uts/intel/
H A DMakefile81 $(NAWK) -f $(PRIVS_AWK) < $(PRIVS_DEF) cfile=$@

12