/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | basename.c | 62 static void namebase(Sfio_t *outfile, register char *pathname, char *suffix) argument 90 sfwrite(outfile,first,last-first); 91 sfputc(outfile,'\n');
|
H A D | dirname.c | 66 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/mail/ |
H A D | gendeliv.c | 43 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/msgfmt/ |
H A D | gnu_msgfmt.c | 37 char *outfile = NULL; variable 74 outfile = flag.ofile; 75 catalog_init(outfile);
|
/illumos-gate/usr/src/cmd/cmd-crypto/kmfcfg/ |
H A D | export.c | 44 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/svr4pkg/pkgadm/ |
H A D | listcert.c | 50 * [-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/lib/libshell/common/sh/ |
H A D | tdump.c | 43 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 D | deparse.c | 62 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/lib/libcmdutils/common/ |
H A D | writefile.c | 44 writefile(int fi, int fo, char *infile, char *outfile, char *asfile, argument 80 targ_size = strlen(outfile) + strlen(atfile) + 83 targ_size = strlen(outfile) + 1; 94 outfile, dgettext(TEXT_DOMAIN, " attribute "), atfile); 96 (void) snprintf(targbuf, targ_size, "%s", outfile);
|
H A D | process_xattrs.c | 79 mv_xattrs(char *cmd, char *infile, char *outfile, int sattr, int silent) argument 108 if ((outdfd = attropen(outfile, ".", O_RDONLY)) == -1) { 151 if (writefile(sattrfd, tattrfd, infile, outfile, dp->d_name,
|
/illumos-gate/usr/src/cmd/fm/eversholt/esc/common/ |
H A D | escmain.c | 66 "[-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/cmd/rpcgen/ |
H A D | rpc_util.h | 85 char *outfile; /* output module name */ member in struct:commandline
|
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/ |
H A D | download.c | 47 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...] |
H A D | export.c | 237 char *outfile) 268 KMF_OUTPUT_FILENAME_ATTR, outfile, strlen(outfile)); 706 "I:(infile)o:(outfile)")) != EOF) { 791 "an 'outfile' parameter when exporting.\n")); 235 pk_export_pk12_files(KMF_HANDLE_T kmfhandle, char *certfile, char *keyfile, char *outfile) argument
|
/illumos-gate/usr/src/lib/libshell/common/bltins/ |
H A D | hist.c | 48 Sfio_t *outfile; local 186 outfile = sfstdout; 195 outfile= sfnew(NIL(Sfio_t*),shp->outbuff,IOBSIZE,fdo,SF_WRITE); 202 sfprintf(outfile,"%d\t",range[flag]); 204 sfputc(outfile,'\t'); 205 hist_list(shp->hist_ptr,outfile,hist_tell(shp->hist_ptr,range[flag]),0,arg); 214 sfclose(outfile);
|
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | debug.c | 413 * by dbp has been initialized. If outfile is non-NULL, *outfile will 419 const char **outfile) 436 if (outfile) 437 *outfile = NULL; /* No output file yet */ 488 * a non-NULL outfile argument, and because the 491 if ((outfile != NULL) && 495 MSG_TOK_OUTFILE_SIZE, 0, outfile)) 418 Dbg_setup(dbg_setup_caller_t caller, const char *string, Dbg_desc *dbp, const char **outfile) argument
|
/illumos-gate/usr/src/tools/ctf/cvt/ |
H A D | ctfconvert.c | 48 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/tools/ctf/stabs/common/ |
H A D | ctfstabs.c | 238 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/gss_mechs/mech_krb5/profile/ |
H A D | prof_file.c | 406 static errcode_t write_data_to_file(prf_data_t data, const char *outfile, argument 417 new_file = malloc(strlen(outfile) + 5); 420 old_file = malloc(strlen(outfile) + 5); 424 sprintf(new_file, "%s.$$$", outfile); 425 sprintf(old_file, "%s.bak", outfile); 445 if (make_hard_link(outfile, old_file) == 0) { 449 if (rename(new_file, outfile)) { 457 if (rename(new_file, outfile)) { 468 if (rename(outfile, old_file)) { 472 if (rename(new_file, outfile)) { 524 profile_flush_file_data_to_file(prf_data_t data, const char *outfile) argument [all...] |
H A D | prof_init.c | 204 profile_flush_to_file(profile_t profile, const_profile_filespec_t outfile) argument 211 outfile);
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | makedbm.c | 122 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...] |
/illumos-gate/usr/src/cmd/sed/ |
H A D | main.c | 90 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/abi/apptracecmd/ |
H A D | apptrace.c | 102 char *outfile = NULL; local 131 outfile = optarg; 199 if (outfile != NULL) 200 stuffenv(APPTRACE_OUTPUT, outfile);
|
/illumos-gate/usr/src/cmd/audio/audioconvert/ |
H A D | main.cc | 72 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/cmd/sgs/link_audit/common/ |
H A D | truss.c | 42 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);
|