/illumos-gate/usr/src/cmd/rpcgen/ |
H A D | rpc_main.c | 159 * 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/sqlite/ |
H A D | shell.c | 195 char outfile[FILENAME_MAX]; /* Filename for *out */ member in struct:callback_data 764 strcpy(p->outfile,"stdout"); 771 strcpy(p->outfile,azArg[1]); 887 strlen(p->outfile) ? p->outfile : "stdout");
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | invlib.c | 74 static FILE *outfile, *fpost; variable 119 if ((outfile = vpfopen(invname, FWRITEP)) == NULL) { 124 (void) fseek(outfile, (long)BUFSIZ, 0); 254 if (fwrite((char *)&logicalblk, BLOCKSIZE, 1, outfile) == 0) { 259 if (fwrite((char *)&logicalblk, BLOCKSIZE, 1, outfile) == 0) { 271 outfile) == 0 || 272 fwrite(SUPFING, 1, supfing - SUPFING, outfile) == 0) { 284 if (fwrite(SUPFING, BLOCKSIZE - i, 1, outfile) == 0 || 285 fflush(outfile) == EOF) { 290 rewind(outfile); [all...] |
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | nis_db.cc | 207 db_copy_file(char *infile, char *outfile) argument 209 return (InUseDictionary->copyfile(infile, outfile));
|
H A D | db_dictionary.cc | 1013 db_dictionary::copyfile(char *infile, char *outfile) argument 1045 ret = tbl->database->dump(outfile) ? DB_SUCCESS : DB_INTERNAL_ERROR;
|
/illumos-gate/usr/src/uts/common/io/audio/drv/audioemu10k/dsp/ |
H A D | asm10k.c | 957 char *outfile; local 966 outfile = NULL; 974 outfile = optarg; 1010 if ((outfile == NULL) && (mapfile == NULL) && (header == NULL)) { 1011 outfile = "dsp.bin"; 1075 if (outfile) 1076 produce_output(outfile);
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | io.c | 1353 register Sfio_t *infile = 0, *outfile; local 1358 if(!(outfile=sftmp(0))) 1364 sfputr(outfile,name,'\n'); 1374 sfdisc(outfile,&tee_disc); 1379 sfmove(infile,outfile,SF_UNBOUND,-1); 1385 sh_machere(shp,infile,outfile,iop->ioname); 1391 /* close stream outfile, but save file descriptor */ 1392 fd = sffileno(outfile); 1393 sfsetfd(outfile,-1); 1394 sfclose(outfile); 2176 sh_menu(Sfio_t *outfile,int argn,char *argv[]) argument [all...] |
H A D | macro.c | 256 * The result is written to <outfile> 258 void sh_machere(Shell_t *shp,Sfio_t *infile, Sfio_t *outfile, char *string) argument 271 mp->sp = outfile; 312 sfwrite(outfile,fcseek(0),c); 334 sfputc(outfile,ESCAPE); 376 sfwrite(outfile,(char*)stkptr(stkp,offset2),c); 390 sfputc(outfile,'$');
|
H A D | xec.c | 84 static void l_time(Sfio_t *outfile,register clock_t t,int p) argument 98 sfprintf(outfile,"%dh",hr); 100 sfprintf(outfile,"%dm%d%c%0*ds",min,sec,GETDECIMAL(0),p,frac); 102 sfprintf(outfile,"%dm%ds",min,sec);
|
/illumos-gate/usr/src/lib/libpp/common/ |
H A D | pp.h | 71 #define PPWRITE(n) do{if(write(1,pp.outbuf,n)!=(n))pperror(ERROR_SYSTEM|3,"%s: write error",pp.outfile);pp.offset+=(n);pp.lastout=pp.outbuf[(n)-1];}while(0) 401 char* outfile; /* output file name */ member in struct:ppglobals
|
/illumos-gate/usr/src/cmd/compress/ |
H A D | compress.c | 255 static FILE *outfile; /* disk-based output stream */ variable 533 if ((outfile = fopen("/dev/null", "w")) == NULL) { 557 outp = outfile; 679 outp = outfile;
|
/illumos-gate/usr/src/cmd/datadm/ |
H A D | datadm.c | 1431 datadm_generate_conf_entry(FILE *outfile, datadm_ia_entry_t *ia_entry, argument 1436 retval = fprintf(outfile, 1463 datadm_generate_conf_header(FILE *outfile) argument 1475 retval = fprintf(outfile, "%s", datadm_conf_header_default); 1483 retval = fprintf(outfile, "%s", cmnt->cmnt_line); 1494 retval = fprintf(outfile, "\n"); 1515 FILE *outfile = NULL; local 1521 outfile = stdout; 1523 outfile = fopen(dat_conf, "w+"); 1524 if (outfile [all...] |
/illumos-gate/usr/src/cmd/sgs/elfedit/common/ |
H A D | elfedit.c | 240 state.file.outfile); 241 (void) unlink(state.file.outfile); 2550 * Copy infile to a new file with the name given by outfile. 2553 create_outfile(const char *infile, const char *outfile) argument 2573 MSG_ORIG(MSG_STR_BINCP), infile, outfile, NULL); local 2604 if (stat(outfile, &statbuf) == -1) { 2606 (void) unlink(outfile); 2608 outfile, strerror(err)); 2614 if (chmod(outfile, statbuf.st_mode) == -1) { 2616 (void) unlink(outfile); [all...] |
/illumos-gate/usr/src/cmd/th_tools/ |
H A D | th_define.c | 173 static FILE *outfile; variable 1087 fp = outfile; 1310 (void) fprintf(outfile, "Logged %d out of %d accesses" 1839 (void) fprintf(outfile, 1845 (void) fprintf(outfile, "%d ", inst); 1848 (void) fprintf(outfile, " (%d logs of size 0x%x).\n\t" 1966 (void) fprintf(outfile, "Logging complete.\n"); 2061 outfile = stdout; 2347 (void) fprintf(outfile, 2359 print_err_reports(outfile, [all...] |
/illumos-gate/usr/src/tools/codereview/ |
H A D | lwlp.c | 669 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/cmd/cron/ |
H A D | cron.c | 238 char *outfile; /* file where stdout & stderr are trapped */ member in struct:runinfo 2177 * free at_cmdfile and outfile plus jobname buffers of the runinfo structure. 2219 * is assigned to rp->outfile. Here rp->outfile is not overwritten. 2222 rp->outfile = tempnam(TMPDIR, PFX); 2502 if ((fd = open(rp->outfile, O_WRONLY|O_CREAT|O_EXCL, OUTMODE)) == 1) 2642 (void) unlink(rp->outfile); 2665 if (lstat(pr->outfile, &buf) == 0) { 2692 (void) unlink(pr->outfile); 2759 (st = fopen(pr->outfile, " [all...] |
/illumos-gate/usr/src/cmd/zoneadm/ |
H A D | zoneadm.c | 3471 char *outfile; local 3474 if ((outfile = tempnam("/var/log", "zone")) == NULL) { 3475 outfile = "/dev/null"; 3490 src, dst, outfile); 3497 "More information can be found in %s\n"), outfile); 3502 (void) unlink(outfile);
|
/illumos-gate/usr/src/cmd/zonecfg/ |
H A D | zonecfg.c | 1849 char zonepath[MAXPATHLEN], outfile[MAXPATHLEN], pool[MAXNAMELEN]; local 1864 outfile[0] = '\0'; 1876 (void) strlcpy(outfile, optarg, sizeof (outfile)); 1891 if (strlen(outfile) == 0) { 1894 if ((of = fopen(outfile, "w")) == NULL) { 1896 outfile, strerror(errno));
|
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm.c | 1945 } outfile; typedef in typeref:union:__anon467 1949 outfile out; 2057 cachefile outfile, outupdt; local 2073 ret = setup_file(get_cachedir(what), path, &outfile); 2085 if (cache_write(outfile, buf, ret) == BAM_ERROR) { 2101 if (cache_close(outfile) == BAM_ERROR)
|