/illumos-gate/usr/src/uts/common/os/ |
H A D | privs.awk | 48 # The files are output on the awk variable privhfile, pubhfile, cfile, 152 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 [all...] |
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | lookup.c | 73 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 D | nfs3ops.c | 407 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 D | nfs2ops.c | 345 nfsgetsymlink(struct nfs_file *cfile, char **path) argument 358 xdr_nfs_fh, (caddr_t)&cfile->fh.fh2,
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | ruserpass.c | 43 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/tools/scripts/ |
H A D | genoffsets.pl | 132 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: $!");
|
/illumos-gate/usr/src/grub/grub-0.97/ |
H A D | compile | 59 cfile= 83 cfile=$1 96 if test -z "$ofile" || test -z "$cfile"; then 106 cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/misc/ |
H A D | tst.include.ksh | 41 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
|
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | ruserpass.c | 80 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 D | ruserpass.c | 65 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/test/zfs-tests/tests/functional/cli_root/zfs_promote/ |
H A D | zfs_promote_001_pos.ksh | 104 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 D | zfs_promote_004_pos.ksh | 84 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 ))]}
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | slp_config.c | 96 char *cfile, *buf; local 102 if (cfile = getenv("SLP_CONF_FILE")) 103 fp = fopen(cfile, "rF");
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/ |
H A D | options.c | 228 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/sendmail/aux/ |
H A D | praliases.c | 63 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 D | mailstats.c | 57 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 D | editmap.c | 80 char *cfile; local 119 cfile = _PATH_SENDMAILCF; 142 cfile = optarg; 216 if ((cfp = fopen(cfile, "r")) == NULL) 219 cfile, sm_errstring(errno));
|
H A D | makemap.c | 81 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/bnu/ |
H A D | uuxqt.c | 833 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 D | uux.c | 86 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 D | uucp.c | 489 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
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipfcomp.c | 63 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/test/libc-tests/tests/symbols/ |
H A D | symbols_test.c | 35 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/uts/intel/ |
H A D | Makefile | 82 $(AWK) -f $(PRIVS_AWK) < $(PRIVS_DEF) cfile=$@
|
/illumos-gate/usr/src/uts/sun4u/ |
H A D | Makefile | 116 $(AWK) -f $(PRIVS_AWK) < $(PRIVS_DEF) cfile=$@
|