Searched refs:infile (Results 1 - 25 of 74) sorted by relevance

123

/illumos-gate/usr/src/tools/tokenize/
H A Dtokenize.sh42 infile=/tmp/$$
43 echo 'fcode-version1' > $infile
44 cat $1 >> $infile
45 echo 'end0' >> $infile
53 -s "aout-header? off silent? on tokenize $infile $outfile" < /dev/null
55 rm $infile
/illumos-gate/usr/src/cmd/dfs.cmds/shareall/
H A Dshareall.sh52 -) infile=;; # use stdin
53 *) infile=$1;; # use a given source file
56 infile=/etc/dfs/dfstab # default
62 if [ "$infile" = "/etc/dfs/dfstab" ]
69 done < $infile |
83 done < $infile |
93 if [ "$infile" = "/etc/dfs/dfstab" ]
97 cat $infile|/sbin/sh
/illumos-gate/usr/src/cmd/tsol/zones/
H A Dzoneshare.sh64 -) infile=;; # use stdin
65 *) infile=$1;; # use a given source file
68 infile=$prefix/etc/dfs/dfstab # default
78 done < $infile |
H A Dzoneunshare.sh64 -) infile=;; # use stdin
65 *) infile=$1;; # use a given source file
68 infile=/etc/dfs/sharetab # default
76 done < $infile |
/illumos-gate/usr/src/cmd/bnu/
H A Dmailst.c44 * infile -> optional stdin mailed to user
48 mailst(user, subj, str, infile, errfile)
49 char *user, *subj, *str, *infile, *errfile;
83 if (*infile) {
84 if (!NOTEMPTY(infile))
86 else if (chkpth(infile, CK_READ) == FAIL) {
90 "user %s, stdin %s", user, infile);
93 else if ((fi = fopen(infile, "r")) == NULL) {
97 "user %s, stdin %s", user, infile);
/illumos-gate/usr/src/cmd/rpcgen/
H A Drpc_main.c163 checkfiles(cmd.infile, cmd.outfile);
165 checkfiles(cmd.infile, NULL);
168 c_output(cmd.infile, "-DRPC_XDR", DONT_EXTEND, cmd.outfile);
170 h_output(cmd.infile, "-DRPC_HDR", DONT_EXTEND, cmd.outfile);
172 l_output(cmd.infile, "-DRPC_CLNT", DONT_EXTEND, cmd.outfile);
174 s_output(argc, argv, cmd.infile, "-DRPC_SVC", DONT_EXTEND,
177 t_output(cmd.infile, "-DRPC_TBL", DONT_EXTEND, cmd.outfile);
179 svc_output(cmd.infile, "-DRPC_SERVER", DONT_EXTEND,
182 clnt_output(cmd.infile, "-DRPC_CLIENT", DONT_EXTEND,
188 c_output(cmd.infile, "
248 open_output(char *infile, char *outfile) argument
318 open_input(char *infile, char *define) argument
401 c_output(char *infile, char *define, int extend, char *outfile) argument
510 h_output(char *infile, char *define, int extend, char *outfile) argument
628 s_output(int argc, char *argv[], char *infile, char *define, int extend, char *outfile, int nomain, int netflag) argument
716 l_output(char *infile, char *define, int extend, char *outfile) argument
753 t_output(char *infile, char *define, int extend, char *outfile) argument
775 svc_output(char *infile, char *define, int extend, char *outfile) argument
811 clnt_output(char *infile, char *define, int extend, char *outfile) argument
1010 checkfiles(char *infile, char *outfile) argument
[all...]
/illumos-gate/usr/src/tools/ctf/cvt/
H A Dctfconvert.c47 static const char *infile = NULL; variable
66 fprintf(stderr, "Removing %s\n", infile);
67 unlink(infile);
196 infile = argv[optind];
197 if (access(infile, R_OK) != 0)
198 terminate("Can't access %s", infile);
217 if (!file_read(filetd, infile, ignore_non_c))
218 terminate("%s doesn't have type data to convert\n", infile);
233 if (outfile && strcmp(infile, outfile) != 0) {
234 write_ctf(mstrtd, infile, outfil
[all...]
/illumos-gate/usr/src/cmd/cmd-crypto/kmfcfg/
H A Dimport.c45 char *infile = NULL; local
53 "d:(dbfile)p:(policy)i:(infile)")) != EOF) {
70 infile = get_string(optarg_av, &rv);
71 if (infile == NULL) {
73 gettext("Error infile input.\n"));
112 if (infile == NULL) {
128 rv = load_policies(infile, &plclist);
153 policyname, infile);
164 if (infile != NULL)
165 free(infile);
[all...]
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevpolicy.c107 loadprivs(const char *infile) argument
114 in = fopen(infile, "r");
150 loadpolicy(const char *infile) argument
164 in = fopen(infile, "r");
167 err_print(OPEN_FAILED, infile, strerror(errno));
197 err_print(DPLCY_ONE_DFLT, infile);
205 err_print(DPLCY_FIRST, infile);
258 err_print(UNEXPECTED_EOF, infile);
/illumos-gate/usr/src/cmd/dispadmin/
H A Dfssdispadmin.c56 "dispadmin -c FSS -s infile\n";
67 char *infile; local
102 infile = optarg;
134 setadmin(infile);
186 * Read the scheduler settings from infile, convert the time quantum values
191 setadmin(char *infile) argument
211 if ((fp = fopen(infile, "r")) == NULL)
212 fatalerr("%s: Can't open %s for input\n", basenm, infile);
234 "resolution value\n", infile, line);
244 "quantum value\n", infile, lin
[all...]
H A Drtdispadmin.c59 "dispadmin -c RT -s infile\n";
73 char *infile; local
103 infile = optarg;
135 set_rtdptbl(infile);
210 * Read the rt_dptbl values from infile, convert the time quantum values
215 set_rtdptbl(infile)
216 char *infile;
250 if ((fp = fopen(infile, "r")) == NULL)
251 fatalerr("%s: Can't open %s for input\n", basenm, infile);
H A Dfxdispadmin.c58 "dispadmin -c FX -s infile\n";
70 char *infile; local
105 infile = optarg;
138 set_fxdptbl(infile);
213 * Read the fx_dptbl values from infile, convert the time quantum values
218 set_fxdptbl(char *infile) argument
255 if ((fp = fopen(infile, "r")) == NULL)
256 fatalerr("%s: Can't open %s for input\n", basenm, infile);
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dtrestore.c43 static Sfio_t *infile; variable
50 infile = in;
59 long l = sfgetl(infile);
80 t->fork.forkline = sfgetu(infile);
106 t->ar.arline = sfgetu(infile);
116 t->for_.forline = sfgetu(infile);
125 t->sw.swline = sfgetu(infile);
140 t->funct.functline = sfgetu(infile);
162 t->tst.tstline = sfgetu(infile);
182 while((l=sfgetu(infile))>
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/pkgadm/
H A Daddcert.c75 char *infile = NULL; local
157 infile = "stdin";
161 infile = argv[optind];
164 if ((certfile = fopen(infile, "r")) == NULL) {
165 log_msg(LOG_MSG_ERR, MSG_OPEN, infile);
269 log_msg(LOG_MSG_ERR, MSG_NO_ADDCERT, infile);
275 log_msg(LOG_MSG_ERR, MSG_NO_CERTS, infile);
283 log_msg(LOG_MSG_ERR, MSG_NO_ADDCERT, infile);
289 log_msg(LOG_MSG_ERR, MSG_NO_CERTS, infile);
299 log_msg(LOG_MSG_ERR, MSG_NEED_KEY, infile);
[all...]
/illumos-gate/usr/src/cmd/sed/
H A Dmain.c89 FILE *infile; /* Current input file */ variable
327 if (infile == NULL) {
333 infile = stdin;
342 if (infile != NULL && (c = getc(infile)) != EOF) {
343 (void) ungetc(c, infile);
347 if (infile == stdin) {
351 if (infile != NULL) {
352 (void) fclose(infile);
448 if ((infile
[all...]
H A Dextern.h46 extern FILE *infile, *outfile;
/illumos-gate/usr/src/cmd/streams/log/
H A Dstrace.c48 static int infile = 0; /* set if using standard input for arguments */ variable
82 infile = 0;
96 infile = 0;
125 if (infile) {
132 * if the previous operations encountered EOF, infile
138 if (infile)
153 infile = 1;
/illumos-gate/usr/src/cmd/lp/lib/forms/
H A Df_head.c42 short infile; member in struct:__anon808
H A Dwrform.c47 short infile; member in struct:__anon810
71 (formheadings[fld].infile || error_handler))
145 (formheadings[FO_ALIGN].infile || error_handler)) {
/illumos-gate/usr/src/cmd/audio/audioconvert/
H A Dmain.cc71 char *infile = NULL; // input/output file names local
234 infile = Stdin;
236 infile = argv[optind];
243 open_input_file(infile, ihdr, israw, fflag, i_offset, fmt);
250 infile, err.msg());
299 // get the *real* path of the infile (follow sym-links),
301 realfile = infile;
307 perror(infile);
333 infile);
363 // back to the infile
[all...]
/illumos-gate/usr/src/lib/libcmdutils/common/
H A Dwritefile.c44 writefile(int fi, int fo, char *infile, char *outfile, char *asfile, argument
60 src_size = strlen(infile) + strlen(asfile) +
63 src_size = strlen(infile) + 1;
74 infile, dgettext(TEXT_DOMAIN, " attribute "), asfile);
76 (void) snprintf(srcbuf, src_size, "%s", infile);
/illumos-gate/usr/src/cmd/csplit/
H A Dcsplit.c62 FILE *infile, *outfile; /* I/O file streams */ variable
135 infile = tmpfile();
138 if (fwrite(tmpbuf, 1, BUFSIZ, infile) == 0)
156 rewind(infile);
157 } else if ((infile = fopen(*argv, "r")) == NULL)
307 saveloc = ftello(infile);
318 (void) fseeko(infile, (offset_t)saveloc, SEEK_SET);
322 (void) fseeko(infile, (offset_t)saveloc, SEEK_SET);
404 * Getline gets a line via fgets from the input stream "infile".
416 ret = fgets(linbuf, LINSIZ, infile);
[all...]
/illumos-gate/usr/src/cmd/loadkeys/
H A Dloadkeys.y90 static FILE *infile;
213 infile = open_mapping_file(pathbuf, infilename, explicit_name, type);
214 if (infile == NULL) return (1);
221 fclose(infile);
345 infile = fopen(pathbuf, "r");
346 if (infile) return (infile);
361 infile = fopen(pathbuf, "r");
362 if (infile) return (infile);
[all...]
/illumos-gate/usr/src/tools/cscope-fast/
H A Dinvlib.h98 extern long invmake(char *invname, char *invpost, FILE *infile);
/illumos-gate/usr/src/lib/libsasl/lib/
H A Dconfig.c91 FILE *infile; local
105 infile = fopen(filename, "rF");
106 if (!infile) {
115 while (fgets(buf, sizeof(buf), infile)) {
210 fclose(infile);
220 fclose(infile);

Completed in 121 milliseconds

123