Searched refs:infile (Results 26 - 50 of 74) sorted by relevance

123

/illumos-gate/usr/src/lib/libcmdutils/common/
H A Dprocess_xattrs.c79 mv_xattrs(char *cmd, char *infile, char *outfile, int sattr, int silent) argument
97 if ((srcfd = open(infile, O_RDONLY)) == -1) {
102 response = sysattr_list(cmd, srcfd, infile);
151 if (writefile(sattrfd, tattrfd, infile, outfile, dp->d_name,
226 cmd, infile);
230 "attributes, "), cmd, infile);
/illumos-gate/usr/src/cmd/deroff/
H A Dderoff.c56 #define C ((c = getc(infile)) == EOF ? eof() : \
58 #define C1 ((c = getc(infile)) == EOF ? eof() : c)
108 static FILE *infile; variable
173 infile = stdin;
175 infile = opn(argv[optind++]);
176 files[0] = infile;
195 while ((c = getc(infile)) != rdelim) {
199 while ((c = getc(infile)) != '"') {
203 if ((c = getc(infile)) == EOF) {
235 if (infile !
[all...]
/illumos-gate/usr/src/cmd/dispadmin/
H A Diadispadmin.c59 dispadmin -c IA -s infile\n";
73 char *infile; local
103 infile = optarg;
135 set_iadptbl(infile);
216 * Read the ia_dptbl values from infile, convert the time quantum values
221 set_iadptbl(infile)
222 char *infile;
256 if ((fp = fopen(infile, "r")) == NULL)
257 fatalerr("%s: Can't open %s for input\n", basenm, infile);
H A Dtsdispadmin.c60 dispadmin -c TS -s infile\n";
74 char *infile; local
103 infile = optarg;
135 set_tsdptbl(infile);
212 * Read the ts_dptbl values from infile, convert the time quantum values
217 set_tsdptbl(infile)
218 char *infile;
252 if ((fp = fopen(infile, "r")) == NULL)
253 fatalerr("%s: Can't open %s for input\n", basenm, infile);
/illumos-gate/usr/src/cmd/ypcmd/
H A Dmakedbm.c122 char *infile, *outfile; local
141 infile = outfile = NULL; /* where to get files */
205 } else if (infile == NULL)
206 infile = argv[0];
214 if (infile == NULL || outfile == NULL)
312 if (strcmp(infile, "-") != 0)
313 infp = fopen(infile, "r");
321 fprintf(stderr, "makedbm: can't open %s\n", infile);
433 addpair(fdb, yp_last_modified, get_date(infile));
547 "infile outfil
[all...]
/illumos-gate/usr/src/tools/codereview/
H A Dlwlp.c276 FILE *infile; local
562 infile = popen(command, "r");
564 if (ungetc(getc(infile), infile) == EOF) {
565 (void) pclose(infile);
568 infile = popen(command, "r");
571 printfile(infile);
572 (void) pclose(infile);
580 if ((infile = fopen(argv[i], "r")) == (FILE *)NULL) {
588 (void) fclose(infile);
796 printfile(FILE *infile) argument
882 printpage(FILE *infile, FILE *outfile) argument
[all...]
/illumos-gate/usr/src/cmd/unpack/
H A Dunpack.c63 static short infile; variable
109 inleft = read(infile, &inbuff[0], BUFSIZ);
181 inleft = read(infile, inp = &inbuff[0], BUFSIZ);
349 if ((infile = open(filename, O_RDONLY)) == -1) {
360 error = facl_get(infile, ACL_NO_TRIVIAL, &aclp);
384 (void) fstat(infile, &status);
470 done: (void) close(infile);
571 inleft = read(infile, inp = inbuff, BUFSIZ);
/illumos-gate/usr/src/cmd/oawk/
H A Dlib.c40 FILE *infile = NULL; variable
94 if (infile == NULL) { /* have to open a new file */
113 infile = stdin;
114 else if ((infile = fopen(toeuccode(file), "r")) == NULL)
119 inf = infile;
149 if (infile != stdin)
150 fclose(infile);
151 infile = NULL;
/illumos-gate/usr/src/cmd/pack/
H A Dpack.c76 int infile; /* unpacked file */ variable
129 while ((i = read(infile, inbuff, BUFSIZ)) > 0)
172 (void) lseek(infile, 0L, 0);
178 inleft = read(infile, inp = &inbuff[0], BUFSIZ);
423 if ((infile = open(filename, 0)) < 0) {
434 (void) fstat(infile, &status);
467 error = facl_get(infile, ACL_NO_TRIVIAL, &aclp);
589 (void) close(infile);
/illumos-gate/usr/src/cmd/rpcgen/
H A Drpc_svcout.c108 write_most(char *infile, int netflag, int nomain) argument
157 write_inetmost(infile);
180 write_pm_most(infile, netflag);
182 write_rpc_svc_fg(infile, "\t\t");
192 open_log_file(infile, "\t");
701 write_inetmost(char *infile) argument
720 open_log_file(infile, "\t\t");
722 write_rpc_svc_fg(infile, "\t\t");
950 write_pm_most(char *infile, int netflag) argument
977 open_log_file(infile, "\
1047 write_rpc_svc_fg(char *infile, char *sp) argument
1104 open_log_file(char *infile, char *sp) argument
[all...]
H A Drpc_util.h84 char *infile; /* input module name */ member in struct:commandline
/illumos-gate/usr/src/cmd/logger/
H A Dlogger.c123 char *infile = NULL; local
165 infile = optarg;
166 if (freopen(infile, "r", stdin) == NULL) {
168 perror(infile);
/illumos-gate/usr/src/cmd/awk/
H A Dlib.c49 static FILE *infile = NULL; variable
76 infile = stdin; /* no filenames, so use stdin */
96 while (argno < *ARGC || infile == stdin) {
98 if (infile == NULL) { /* have to open a new file */
112 infile = stdin;
113 else if ((infile = fopen((char *)file, "r")) == NULL)
117 c = readrec(&nbuf, &len, infile);
141 if (infile != stdin)
142 (void) fclose(infile);
143 infile
[all...]
/illumos-gate/usr/src/cmd/wall/
H A Dwall.c71 static char *infile; variable
157 infile = argv[optind];
183 if (infile) {
184 f = fopen(infile, "r");
186 (void) fprintf(stderr, "Cannot open %s\n", infile);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nca/
H A Dncab2clf.c780 char *infile = NULL; /* input file name */ local
800 infile = xstrdup(optarg);
851 if (infile) {
853 if ((ifd = open(infile, O_RDONLY)) < 0) {
857 infile, strerror(errno));
/illumos-gate/usr/src/boot/lib/libz/test/
H A Dminigzip.c500 char *infile, *outfile; local
517 infile = file;
522 infile = buf;
526 strcat(infile, GZ_SUFFIX);
529 in = gzopen(infile, "rb");
531 fprintf(stderr, "%s: can't gzopen %s\n", prog, infile);
542 unlink(infile);
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/
H A Ddelete.c629 char *dir, char *infile)
649 if (infile != NULL) {
651 infile, strlen(infile));
727 char *infile = NULL; local
747 "f:(infile)")) != EOF) {
791 infile = optarg_av;
908 infile);
939 dir, infile);
945 dir, infile,
628 delete_file_keys(KMF_HANDLE_T kmfhandle, int oclass, char *dir, char *infile) argument
[all...]
H A Dexport.c86 char *infile, char *filename)
122 if (infile != NULL) {
124 KMF_CERT_FILENAME_ATTR, infile,
125 strlen(infile));
686 char *infile = NULL; local
706 "I:(infile)o:(outfile)")) != EOF) {
760 if (infile)
762 infile = optarg_av;
924 infile, filename);
84 pk_export_file_objects(KMF_HANDLE_T kmfhandle, int oclass, char *issuer, char *subject, KMF_BIGINT *serial, char *infile, char *filename) argument
H A Dimport.c425 char *infile,
436 if (infile) {
438 KMF_CRL_FILENAME_ATTR, infile, strlen(infile));
456 char *infile,
472 if (infile) {
474 infile, strlen(infile));
826 "T:(token)i:(infile)"
929 cryptoerror(LOG_STDERR, gettext("The 'infile' paramete
424 pk_import_file_crl(void *kmfhandle, char *infile, char *outfile, KMF_ENCODE_FORMAT outfmt) argument
454 pk_import_nss_crl(void *kmfhandle, boolean_t verify_crl_flag, char *infile, char *outdir, char *prefix) argument
[all...]
/illumos-gate/usr/src/uts/common/io/audio/drv/audioemu10k/dsp/
H A Dasm10k.c166 static char *infile; variable
263 infile);
967 infile = NULL;
977 infile = strdup(optarg);
1014 if (infile) {
1015 input = fopen(infile, "r");
1017 perror(infile);
1021 infile = strdup("<stdin>");
1049 free(infile);
1050 infile
[all...]
/illumos-gate/usr/src/cmd/ucodeadm/
H A Ducodeadm.c126 ucode_convert_amd(const char *infile, uint8_t *buf, size_t size) argument
130 if (infile == NULL || buf == NULL || size == 0)
133 if ((fd = open(infile, O_RDONLY)) < 0)
144 ucode_convert_intel(const char *infile, uint8_t *buf, size_t size) argument
151 if (infile == NULL || buf == NULL || size == 0)
154 if ((infd = fopen(infile, "r")) == NULL)
/illumos-gate/usr/src/cmd/sgs/elfedit/common/
H A D_elfedit.h155 const char *infile; /* Name of source file */ member in struct:__anon1464::__anon1465
/illumos-gate/usr/src/cmd/lp/lib/forms/
H A Drdform.c46 short infile; member in struct:__anon809
152 formheadings[fld].infile
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_dictionary_c.x219 % int copyfile( char* infile, char *outfile);
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Ddeparse.c569 Sfio_t *infile; local
576 infile = sfnew((Sfio_t*)0,iop->ioname,iop->iosize,-1,SF_STRING|SF_READ);
578 sfseek(infile=sh.heredocs,iop->iooffset,SEEK_SET);
579 sfmove(infile,outfile,iop->iosize,-1);
581 sfclose(infile);

Completed in 113 milliseconds

123