Searched refs:outfile (Results 1 - 25 of 92) sorted by relevance

1234

/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dtdump.c43 static Sfio_t *outfile; variable
47 outfile = out;
70 return(sfputl(outfile,-1));
71 if(sfputl(outfile,t->tre.tretyp)<0)
82 if(sfputu(outfile,t->fork.forkline)<0)
101 if(sfputl(outfile,-1)<0)
115 if(sfputu(outfile,t->ar.arline)<0)
119 if(sfputu(outfile,t->for_.forline)<0)
127 if(sfputu(outfile,t->sw.swline)<0)
133 if(sfputu(outfile,
[all...]
H A Ddeparse.c62 static Sfio_t *outfile; variable
69 outfile = out;
99 sfnputc(outfile,'\t',level);
128 sfputr(outfile,"|&",'\n');
133 sfputr(outfile,"&",'\n');
162 sfprintf(outfile,"(( %s; ",forinit);
164 sfputr(outfile,arg->argval,';');
166 sfprintf(outfile," %s))\n",arg->argval);
217 sfputr(outfile,cp,here_doc?'\n':' ');
241 sfnputc(outfile,'\
[all...]
/illumos-gate/usr/src/cmd/mail/
H A Dmta_ercode.c52 void mta_ercode(outfile)
53 FILE *outfile;
110 fprintf(outfile, "%.2d %s\n", mtacode, MTAerrors[mtacode]);
H A Dgendeliv.c43 FILE *outfile; local
87 if ((outfile = popenvp(pargs[0], pargs, "w", 1)) == (FILE *)NULL) {
93 outfile = fp;
107 fprintf(outfile,"%s 2\n", header[H_RVERS].tag);
108 fprintf(outfile,"%s %s\n", header[H_TCOPY].tag,
110 fprintf(outfile,"%s %s\n", header[H_DATE].tag, buf);
111 dumprcv(ORDINARY, -1,&didrcvlines,&suppress,outfile);
112 dumpaff(ORDINARY, -1,&didafflines,&suppress,outfile);
113 fprintf(outfile,"Original-%s ", header[H_DATE].tag);
116 fprintf(outfile,"
[all...]
/illumos-gate/usr/src/cmd/sgs/link_audit/common/
H A Dsotruss.ksh46 outfile=""
70 outfile="$OPTARG"
99 TRUSS_OUTPUT="$outfile" \
H A Dtruss.c42 static FILE *outfile = stderr; variable
134 outfile = fp;
255 (void) fprintf(outfile, "%5d:", (int)getpid());
262 (void) fprintf(outfile, "%-15s -> %15s:%-*s%s(0x%lx, 0x%lx, 0x%lx)\n",
267 (void) fflush(outfile);
296 (void) fprintf(outfile, "%5d:", (int)pid);
299 (void) fprintf(outfile, "%-15s -> %15s:%*s%s - 0x%lx\n", refname,
301 (void) fflush(outfile);
/illumos-gate/usr/src/tools/tokenize/
H A Dtokenize.sh46 outfile=`basename $1 .fth`.fcode
53 -s "aout-header? off silent? on tokenize $infile $outfile" < /dev/null
/illumos-gate/usr/src/tools/codereview/
H A Dlwlp.c669 printbanner(char *filename, FILE *outfile) argument
682 setcurrentfont(DEFAULT_FONT_BOLD_ITALIC, outfile);
685 (void) fprintf(outfile, "%d %.2f %s\n", start_x, current.row, MOVETO);
686 proc(banner, outfile);
690 (void) fprintf(outfile, "%d %.2f %s\n", start_x, current.row, MOVETO);
693 proc(buffer, outfile);
698 (void) fprintf(outfile, "%d %.2f %s\n", start_x, current.row,
701 proc(buffer, outfile);
712 (void) fprintf(outfile, "%d %.2f %s\n", start_x,
724 proc(buffer, outfile);
743 setcurrentfont(char *newfont, FILE *outfile) argument
781 restore_format_state(struct format_state *fs, FILE *outfile) argument
800 FILE *outfile; local
852 process_elide(FILE *outfile) argument
882 printpage(FILE *infile, FILE *outfile) argument
970 startpage(FILE *outfile) argument
1021 setuppage(FILE *outfile) argument
1052 endpage(FILE *outfile) argument
1067 flushpage(FILE *outfile) argument
1087 reversepages(FILE *outfile) argument
1103 copypage(FILE *outfile, long off_beg, long off_end) argument
1145 proc(char *in, FILE *outfile) argument
[all...]
/illumos-gate/usr/src/lib/libsecdb/common/
H A Di.rbac491 outfile=""
505 outfile=$tmp_dir/rbac_${PKGINST}_${fname}_merge.$$
511 $rm_cmd -f $outfile $outfile.old $outfile.new $outfile.unsorted
546 dbmerge $type $oldfile $newfile $outfile
554 commit $outfile $oldfile
556 echo "$0 : failed to mv $outfile to $2"
/illumos-gate/usr/src/cmd/cmd-crypto/kmfcfg/
H A Dexport.c44 char *outfile = NULL; local
52 "d:(dbfile)p:(policy)o:(outfile)")) != EOF) {
69 outfile = get_string(optarg_av, &rv);
70 if (outfile == NULL) {
72 gettext("Error outfile input.\n"));
110 if (outfile == NULL) {
117 if (strcmp(outfile, KMF_DEFAULT_POLICY_FILE) == 0 &&
142 rv = kmf_add_policy_to_db(&pnode->plc, outfile,
162 if (outfile != NULL)
163 free(outfile);
[all...]
/illumos-gate/usr/src/cmd/fm/eversholt/esc/common/
H A Descmain.c66 "[-SYdghpqvy] [-Dname[=def]] [-I dir] [-Uname] [-o outfile] esc-files...";
77 "\t-o outfile Emit compiled EFT to \"outfile\"\n"
103 const char *outfile = NULL; local
170 outfile = optarg;
218 if (outfile)
219 eftwrite(outfile);
/illumos-gate/usr/src/lib/libcmd/common/
H A Dbasename.c62 static void namebase(Sfio_t *outfile, register char *pathname, char *suffix) argument
90 sfwrite(outfile,first,last-first);
91 sfputc(outfile,'\n');
H A Ddirname.c66 static void l_dirname(register Sfio_t *outfile, register const char *pathname) argument
94 sfwrite(outfile,pathname,last+1-pathname);
95 sfputc(outfile,'\n');
/illumos-gate/usr/src/cmd/msgfmt/
H A Dgnu_msgfmt.c37 char *outfile = NULL; variable
74 outfile = flag.ofile;
75 catalog_init(outfile);
/illumos-gate/usr/src/cmd/rpcgen/
H A Drpc_main.c159 * so in that case only, check if the outfile exists, and if so,
163 checkfiles(cmd.infile, cmd.outfile);
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);
175 cmd.outfile, cmd.mflag, cmd.nflag);
177 t_output(cmd.infile, "-DRPC_TBL", DONT_EXTEND, cmd.outfile);
180 cmd.outfile);
183 cmd.outfile);
248 open_output(char *infile, char *outfile) 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/cmd/audio/audioconvert/
H A Dmain.cc72 char *outfile = NULL; local
141 if (outfile != NULL) {
167 outfile = optarg;
283 ofp = create_output_file(outfile, ohdr, ofmt,
314 outfile = (char *)malloc((unsigned)i);
315 if (outfile == NULL) {
319 (void) sprintf(outfile, "%s%s", realfile, Suffix);
321 // outfile will get re-assigned to a tmp file
341 ofp = create_output_file(outfile, ohdr, ofmt,
362 // if in place, finish up by renaming the outfile t
[all...]
/illumos-gate/usr/src/tools/ctf/stabs/common/
H A Dctfstabs.c238 char *model = NULL, *objfile = NULL, *outfile = NULL, *tmplfile = NULL; local
261 outfile = optarg;
290 if (outfile == NULL || strcmp(outfile, "-") == 0)
292 else if ((out = fopen(outfile, "w")) == NULL)
293 die("Couldn't open output file %s for writing", outfile);
299 (void) unlink(outfile);
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dprint.c143 register Sfio_t *outfile; local
267 if(!(outfile=shp->sftable[fd]))
271 shp->sftable[fd] = outfile = sfnew(NIL(Sfio_t*),shp->outbuff,IOBSIZE,fd,n);
273 sfpool(outfile,shp->outpool,SF_WRITE);
276 n = sfset(outfile,SF_SHARE|SF_PUBLIC,0);
294 sfprintf(outfile,"%!",&pdata);
297 sfwrite(outfile,stakptr(staktell()),pdata.argsize);
298 if(sffileno(outfile)!=sffileno(sfstderr))
299 sfsync(outfile);
307 fmtbase64(outfile,*arg
339 sh_echolist(Sfio_t *outfile, int raw, char *argv[]) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/
H A Ddownload.c47 char *outfile = NULL; local
58 "t:(objtype)u:(url)h:(http_proxy)o:(outfile)d:(dir)")) != EOF) {
81 if (outfile)
83 outfile = optarg_av;
105 /* Check the dir and outfile options */
106 if (outfile == NULL) {
107 /* If outfile is not specified, use the basename of URI */
108 outfile = basename(url);
111 fullpath = get_fullpath(dir, outfile);
113 cryptoerror(LOG_STDERR, gettext("Incorrect dir or outfile "
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/pkgadm/
H A Dlistcert.c50 * [-n name] [-o outfile] [-P passarg] [-R altroot]
66 FILE *outfile = NULL; local
128 outfile = stdout;
131 if ((outfile = fopen(outfile_str, "w+")) == NULL) {
217 if (print_certs(err, keystore, alias, format, outfile) != 0) {
238 if (outfile != NULL)
239 (void) fclose(outfile);
/illumos-gate/usr/src/tools/ctf/cvt/
H A Dctfconvert.c48 static const char *outfile = NULL; variable
55 "Usage: %s [-is] -l label | -L labelenv [-o outfile] object_file\n"
65 if (!outfile) {
174 outfile = optarg;
233 if (outfile && strcmp(infile, outfile) != 0) {
234 write_ctf(mstrtd, infile, outfile, dynsym);
/illumos-gate/usr/src/cmd/sed/
H A Dextern.h46 extern FILE *infile, *outfile;
H A Dprocess.c84 (void) fwrite(ps, 1, psl, outfile); \
85 (void) fputc('\n', outfile); \
131 (void) fprintf(outfile, "%s", cp->t);
164 (void) fprintf(outfile, "%s", cp->t);
259 (void) fprintf(outfile, "%lu\n", linenum);
537 appends[i].len, outfile);
553 outfile);
557 if (ferror(outfile))
574 if (outfile != stdout)
601 (void) fprintf(outfile, "\\\
[all...]
H A Dmain.c90 FILE *outfile; /* Current output file */ variable
335 outfile = stdout;
370 if (outfile != NULL && outfile != stdout)
371 if (fclose(outfile) != 0) {
376 outfile = NULL;
420 if ((outfile = fopen(tmpfname, "w")) == NULL)
428 if (fstat(fileno(outfile), &nsb) != 0) {
433 (fchown(fileno(outfile), sb.st_uid, sb.st_gid)
437 (fchmod(fileno(outfile), s
[all...]
/illumos-gate/usr/src/cmd/ypcmd/
H A Dmakedbm.c122 char *infile, *outfile; local
141 infile = outfile = NULL; /* where to get files */
207 else if (outfile == NULL)
208 outfile = argv[0];
214 if (infile == NULL || outfile == NULL)
220 last_slash = strrchr(outfile, '/');
223 next_to_last_slash = strrchr(outfile, '/');
264 sprintf(outalias, "%s/%s/%s", outfile, outaliasdomain,
279 if (yp_getalias(outfile, outaliasdomain, NAME_MAX) < 0) {
280 if ((int)strlen(outfile) <
[all...]

Completed in 126 milliseconds

1234