/illumos-gate/usr/src/cmd/tnf/tnfxtract/ |
H A D | tnfxtract.c | 242 const char *outfile; local 272 outfile = argv[optind]; 279 output_fd = open(outfile, O_WRONLY | O_CREAT | O_TRUNC, 0600); 281 perror(outfile);
|
/illumos-gate/usr/src/boot/lib/libz/test/ |
H A D | minigzip.c | 461 local char outfile[MAX_NAME_LEN]; local 465 if (strlen(file) + strlen(GZ_SUFFIX) >= sizeof(outfile)) { 471 snprintf(outfile, sizeof(outfile), "%s%s", file, GZ_SUFFIX); 473 strcpy(outfile, file); 474 strcat(outfile, GZ_SUFFIX); 482 out = gzopen(outfile, mode); 484 fprintf(stderr, "%s: can't gzopen %s\n", prog, outfile); 500 char *infile, *outfile; local 518 outfile [all...] |
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | tail.c | 201 pipetail(Sfio_t* infile, Sfio_t* outfile, Sfoff_t number, int delim) argument 243 sfmove(tmp[!fno], outfile, n, -1); 247 sfmove(tmp[fno], outfile, offset[fno], -1);
|
H A D | join.c | 149 Sfio_t* outfile; member in struct:Join_s 475 register Sfio_t* iop = jp->outfile; 984 jp->outfile = sfstdout;
|
/illumos-gate/usr/src/cmd/unpack/ |
H A D | unpack.c | 64 static short outfile; variable 207 if (write(outfile, &outbuff[0], c) 223 if (write(outfile, outp = &outbuff[0], 357 outfile = 1; /* standard output */ 390 if ((outfile = creat(argvk, status.st_mode)) == -1) { 459 if (aclp && (facl_set(outfile, aclp) < 0)) { 472 (void) close(outfile); 560 (void) write(outfile, outbuff, outp - outbuff); 625 n = write(outfile, outp = outbuff, BUFSIZ);
|
/illumos-gate/usr/src/cmd/pack/ |
H A D | pack.c | 77 int outfile; /* packed file */ variable 200 if (write(outfile, outbuff, BUFSIZ) != BUFSIZ) { 216 if (write(outfile, outbuff, c) != c) 459 if ((outfile = creat(filename, status.st_mode | O_RDONLY)) 572 if (aclp && (facl_set(outfile, aclp) < 0)) { 588 closein: (void) close(outfile);
|
/illumos-gate/usr/src/cmd/csplit/ |
H A D | csplit.c | 62 FILE *infile, *outfile; /* I/O file streams */ variable 244 (void) fseeko(outfile, (offset_t)0, SEEK_END); 245 (void) fprintf(stdout, "%lld\n", (offset_t)ftello(outfile)); 248 (void) fclose(outfile); 272 if (outfile) { 273 (void) fclose(outfile); 283 if (outfile) 327 * Flush uses fputs to put lines on the output file stream(outfile) 336 (void) fputs(linbuf, outfile); 565 outfile [all...] |
/illumos-gate/usr/src/cmd/sgs/elfedit/common/ |
H A D | _elfedit.h | 156 const char *outfile; /* Name of file being edited */ member in struct:__anon1464::__anon1465 157 int unlink_on_exit; /* TRUE to unlink outfile on exit */ 158 int dirty; /* TRUE if outfile needs to be saved */
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | uudecode.c | 31 * uudecode [-o outfile | -p] [input] 107 static char outfile[PATH_MAX]; variable 128 outfile[0] = '\0'; 142 (void) strncpy(outfile, optarg, sizeof (outfile)); 174 gettext("Usage: %s [-o outfile | -p] [infile]\n"), prog); 230 if (outfile[0] != '\0') 231 (void) strncpy(dest, outfile, sizeof (dest)); 234 (dest[0] == '-' && dest[1] == '\0' && outfile[0] == '\0')) { 236 bzero(outfile, sizeo [all...] |
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/ |
H A D | import.c | 59 char *outfile, char *certfile, char *keyfile, 72 rv = kmf_import_objects(kmfhandle, outfile, cred, 77 "key(s) in %s\n"), ncerts, nkeys, outfile); 426 char *outfile, 441 if (outfile) { 443 KMF_CRL_OUTFILE_ATTR, outfile, strlen(outfile)); 58 pk_import_pk12_files(KMF_HANDLE_T kmfhandle, KMF_CREDENTIAL *cred, char *outfile, char *certfile, char *keyfile, KMF_ENCODE_FORMAT outformat) argument 424 pk_import_file_crl(void *kmfhandle, char *infile, char *outfile, KMF_ENCODE_FORMAT outfmt) argument
|
/illumos-gate/usr/src/tools/aw/ |
H A D | aw.c | 487 char *outfile = NULL; local 595 if (outfile == NULL) { 601 if ((outfile = strrchr( 603 outfile = argcopy; 605 outfile++; 690 outfile = arg; 742 if (outfile == NULL) 743 outfile = "a.out"; 745 newae(as, outfile); 783 (void) unlink(outfile); [all...] |
/illumos-gate/usr/src/lib/libshell/common/bltins/ |
H A D | print.c | 143 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...] |
H A D | shiocmd_solaris.c | 330 Sfio_t *outfile; local 334 outfile = 0; 335 else if(!(outfile=out)) 336 outfile = out = sfnew((Sfio_t*)0,(char*)0,-1,-1,SF_WRITE|SF_STRING); 338 sfseek(outfile,0L,SEEK_SET); 339 genvalue(outfile,&dcp->sclass,0,np); 341 if(!outfile)
|
H A D | typeset.c | 49 Sfio_t *outfile; member in struct:tdata 1058 nv_attribute(np,tp->outfile,tp->prefix,tp->aflag); 1143 tp->outfile = file; 1153 nv_attribute(np,dp->outfile,dp->prefix,dp->aflag); 1171 tp->outfile = file;
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | nvtree.c | 758 register Sfio_t *outfile = wp->out; local 767 if(outfile && !wp->array) 769 sfputc(outfile,'('); 773 sfputc(outfile,'\n'); 791 if(outfile) 802 sfnputc(outfile,'\t',wp->indent); 810 sfputr(outfile,sp,' '); 812 nv_outname(outfile,cp,nextcp-cp); 813 sfputc(outfile,'='); 823 sfputc(outfile,'\ 901 Sfio_t *outfile; local [all...] |
H A D | jobs.c | 134 static Sfio_t *outfile; variable 439 outfile = sfstderr; 770 outfile = file; 857 sfprintf(outfile,"%d\n",px->p_pgrp?px->p_pgrp:px->p_pid); 871 sfputc(outfile,'\n'); 872 sfprintf(outfile,"[%d] %c ",n, msize); 877 sfprintf(outfile,"%d\t",px->p_pid); 888 sfputr(outfile,msg,-1); 892 sfprintf(outfile,"(%d)",(int)n); 898 sfputr(outfile, ms [all...] |
/illumos-gate/usr/src/cmd/msgfmt/ |
H A D | msgfmt.c | 50 static char *outfile = NULL; variable 140 outfile = flag.ofile; 655 dom = find_domain_node(outfile);
|
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/ |
H A D | trace.c | 183 outfile[MAXLINE], local 195 (void) snprintf(outfile, sizeof (outfile), "%s.c",
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nca/ |
H A D | ncab2clf.c | 781 char *outfile = NULL; /* output file name */ local 806 outfile = xstrdup(optarg); 867 if (outfile) { 869 if ((ofd = open(outfile, O_WRONLY|O_CREAT, 0644)) < 0) { 873 outfile, strerror(errno));
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgmk/ |
H A D | mkpkgmap.c | 122 mkpkgmap(char *outfile, char *protofile, char **envparam) argument 137 if ((tmpfp = fopen(outfile, "w")) == NULL) {
|
/illumos-gate/usr/src/tools/ctf/cvt/ |
H A D | ctfmerge.c | 203 static char *outfile = NULL; variable 214 "Usage: %s [-fstv] -l label | -L labelenv -o outfile file ...\n" 215 " %s [-fstv] -l label | -L labelenv -o outfile -d uniqfile\n" 217 " %s [-fstv] -l label | -L labelenv -o outfile -w withfile " 593 if (outfile == NULL) 597 fprintf(stderr, "Removing %s\n", outfile); 598 unlink(outfile); 778 /* Place merged types in CTF section in `outfile' */ 779 outfile = optarg; 806 outfile ! [all...] |
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | exec.c | 283 char *outfile; local 486 outfile = 0; 497 outfile = 0; 513 outfile = 0; 527 if (outfile) { 528 if (Open(outfile, O_CREAT|O_TRUNC|O_WRONLY, 0600) == -1)
|
/illumos-gate/usr/src/lib/libshell/common/edit/ |
H A D | history.c | 884 * write the command starting at offset <offset> onto file <outfile>. 889 void hist_list(register History_t *hp,Sfio_t *outfile, off_t offset,int last, char *nl) argument 895 sfputr(outfile,sh_translate(e_unknown),'\n'); 902 sfputr(outfile,nl,-1); 906 sfputc(outfile,oldc);
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | keystore.c | 117 * outfile - Where to print certificates 125 keystore_encoding_format_t format, FILE *outfile) 156 fname, B_FALSE, outfile); 191 fname, B_TRUE, outfile); 231 * outfile - Where to print certificate 239 FILE *outfile) 307 (void) PEM_write_X509(outfile, x); 310 (void) i2d_X509_fp(outfile, x); 313 (void) fprintf(outfile, "%18s: %s\n", 316 (void) fprintf(outfile, " 124 print_certs(PKG_ERR *err, keystore_handle_t keystore_h, char *alias, keystore_encoding_format_t format, FILE *outfile) argument 237 print_cert(PKG_ERR *err, X509 *x, keystore_encoding_format_t format, char *alias, boolean_t is_trusted, FILE *outfile) argument [all...] |
/illumos-gate/usr/src/cmd/vi/misc/ |
H A D | ctags.c | 113 *outfile = "tags", /* output file */ variable 241 outfile = strdup(optarg); 271 outfile, mav[i], outfile); 276 outf = fopen(outfile, aflag ? "a" : "w"); 278 perror(outfile); 284 (void) sprintf(cmd, "sort %s -o %s", outfile, outfile);
|