Home
last modified time | relevance | path

Searched refs:prog (Results 1 – 25 of 694) sorted by relevance

12345678910>>...28

/original-bsd/local/transcript/src/
H A Dpscomm.c229 prog = *argv;
250 prog = *++argv;
389 pexit(prog, THROW_AWAY);
404 pexit(prog, THROW_AWAY);
419 pexit(prog,THROW_AWAY);
554 perror(prog);
567 perror(prog);
686 pexit(prog, THROW_AWAY);
1051 perror(prog);
1058 perror(prog);
[all …]
H A Dpsrev.c78 private char *prog; variable
276 { fprintf(stderr,"%s: problem reading source file\n",prog);
281 { fprintf(stderr,"%s: problem writing new file\n",prog);
308 prog = *argv;
338 fprintf(stderr,"%s: unknown option -%c\n",prog,argp);
345 fprintf(stderr,"%s: can't open %s\n",prog,params.scSrcFile);
357 fprintf(stderr,"%s: could not open temp file\n",prog);
370 fprintf(stderr, "%s: Too many pages in PS file, sorry\n",prog);
394 prog, params.scDstFile);
418 fprintf(stderr, "%s: No pages in specified range!\n",prog);
[all …]
H A Denscript.c242 prog, name);
283 prog, FontFile); in ScanFont()
295 prog, FontFile, afmbuf); in ScanFont()
310 prog, FontFile); in ScanFont()
460 prog, c, f->name);
803 prog, c); in CopyFile()
808 prog, c); in CopyFile()
973 prog, font);
1174 prog, envget ("ENSCRIPT"));
1215 prog, TruncChars);
[all …]
H A Dpstext.c60 private char *prog; variable
76 prog = *argv;
85 fprintf(stderr,"%s: trouble copying text prolog\n",prog);
H A Dpsgrind.c923 prog = *argv;
1003 pexit(prog,1);
1089 pexit(prog,1); in SpoolIt()
1093 pexit(prog,1); in SpoolIt()
1097 pexit(prog,1); in SpoolIt()
1101 pexit(prog,1); in SpoolIt()
1107 pexit(prog,1); in SpoolIt()
1111 pexit(prog,1); in SpoolIt()
1114 pexit(prog,1); in SpoolIt()
1119 pexit(prog,1); in SpoolIt()
[all …]
/original-bsd/lib/libcompat/regexp/
H A Dregsub.c36 regsub(prog, source, dest) in regsub() argument
37 const regexp *prog; in regsub()
48 if (prog == NULL || source == NULL || dest == NULL) {
52 if (UCHARAT(prog->program) != MAGIC) {
70 } else if (prog->startp[no] != NULL && prog->endp[no] != NULL) {
71 len = prog->endp[no] - prog->startp[no];
72 (void) strncpy(dst, prog->startp[no], len);
H A Dregexp.c787 regexec(prog, string) in regexec() argument
810 if (strncmp(s, prog->regmust, prog->regmlen) == 0)
822 if (prog->reganch)
849 regtry(prog, string) in regtry() argument
850 regexp *prog; in regtry()
859 regendp = prog->endp;
861 sp = prog->startp;
862 ep = prog->endp;
886 regmatch(prog) in regmatch() argument
887 char *prog; in regmatch()
[all …]
/original-bsd/usr.sbin/eeprom/
H A Deeprom.c61 char *prog, *name; local
65 prog = cp + 1;
67 prog = argv[0];
75 (void) fprintf(stderr, usage, prog);
91 prog, openprom, strerror(errno));
99 prog, strerror(errno));
114 prog, strerror(errno));
132 prog, cp, strerror(errno));
156 prog, cp ? "set" : "get", name, strerror(errno));
165 fprintf(stderr, "%s: \"%s\" not found\n", prog, name);
[all …]
/original-bsd/local/toolchest/ksh/sh/
H A Dapollo.c50 register char *prog = com[1]; local
57 path = prog;
59 if(strchr(prog,'/')==0)
61 if((path = fullname(prog))==NULL)
62 failed(prog,notfound);
102 failed(prog,badexec);
/original-bsd/libexec/fingerd/
H A Dfingerd.c46 char **ap, *av[ENTRIES + 1], **comp, line[1024], *prog; local
48 prog = _PATH_FINGER;
58 prog = optarg;
108 if (lp = strrchr(prog, '/'))
111 *comp = prog;
122 execv(prog, comp);
123 err("execv: %s: %s", prog, strerror(errno));
/original-bsd/usr.bin/pascal/px/
H A Dint.c52 register FILE *prog; local
101 prog = fopen(file,"r");
102 if (prog == NULL) {
106 fread(&pxhd,sizeof(struct pxhdr),1,prog);
108 fseek(prog,(long)(HEADER_BYTES-sizeof(struct pxhdr)),0);
109 fread(&pxhd,sizeof(struct pxhdr),1,prog);
136 bytesread = fread(objprog,1,(int)pxhd.objsize,prog);
137 fclose(prog);
/original-bsd/usr.bin/netstat/
H A Dmain.c174 prog = cp + 1;
176 prog = argv[0];
202 prog, optarg);
238 prog, optarg);
291 if ((kvmd = kvm_open(nlistf, memf, NULL, O_RDONLY, prog)) == NULL) {
292 fprintf(stderr, "%s: kvm_open: %s\n", prog, buf);
297 fprintf(stderr, "%s: %s: no namelist\n", prog, nlistf);
299 fprintf(stderr, "%s: no namelist\n", prog);
402 (void)fprintf(stderr, "%s: kvm_read %s\n", prog,
474 "usage: %s [-Aan] [-f address_family] [-M core] [-N system]\n", prog); in usage()
[all …]
/original-bsd/usr.bin/sccs/PSD.doc/
H A Dspell.ok61 prog
62 prog.c
63 prog.h
64 prog.o
/original-bsd/lib/librpc/rpc/
H A Dsvc.c136 svc_register(xprt, prog, vers, dispatch, protocol) in svc_register() argument
138 u_long prog;
146 if ((s = svc_find(prog, vers, &prev)) != NULL_SVC) {
155 s->sc_prog = prog;
172 svc_unregister(prog, vers) in svc_unregister() argument
173 u_long prog; in svc_unregister()
179 if ((s = svc_find(prog, vers, &prev)) == NULL_SVC)
189 (void)pmap_unset(prog, vers);
197 svc_find(prog, vers, prev) in svc_find() argument
198 u_long prog; in svc_find()
[all …]
H A Dclnt_generic.c47 clnt_create(hostname, prog, vers, proto) in clnt_create() argument
49 unsigned prog;
88 client = clntudp_create(&sin, prog, vers, tv, &sock);
96 client = clnttcp_create(&sin, prog, vers, &sock, 0, 0);
H A Dsvc_simple.c101 int prog, proc; local
116 prog = rqstp->rq_prog;
119 if (pl->p_prognum == prog && pl->p_procnum == proc) {
140 (void) fprintf(stderr, "never registered prog %d\n", prog);
H A Dpmap_rmt.c66 pmap_rmtcall(addr, prog, vers, proc, xdrargs, argsp, xdrres, resp, tout, port_ptr) in pmap_rmtcall() argument
68 u_long prog, vers, proc;
83 a.prog = prog;
114 if (xdr_u_long(xdrs, &(cap->prog)) &&
216 clnt_broadcast(prog, vers, proc, xargs, argsp, xresults, resultsp, eachresult) in clnt_broadcast() argument
217 u_long prog; /* program number */ in clnt_broadcast()
290 a.prog = prog;
/original-bsd/usr.sbin/amd/amd/
H A Dpfs_ops.c32 char *prog; local
37 prog = strchr(fo->opt_mount, ' ');
38 return strdup(prog ? prog+1 : fo->opt_mount);
H A Dmisc_rpc.c24 void rpc_msg_init P((struct rpc_msg *mp, u_long prog, u_long vers, u_long proc));
25 void rpc_msg_init(mp, prog, vers, proc) in rpc_msg_init() argument
27 unsigned long prog, vers, proc;
36 mp->rm_call.cb_prog = prog;
/original-bsd/usr.bin/pascal/px_header/
H A Dpx_header.c113 run(prog, args) in run() argument
114 char *prog; in run()
118 execv(prog, args);
123 error(0, prog);
/original-bsd/games/gomoku/
H A Dmain.c38 char *prog; /* name of program */ variable
71 prog = strrchr(argv[0], '/');
72 if (prog)
73 prog++;
75 prog = argv[0];
179 plyr[BLACK] = input[BLACK] == USER ? "you" : prog;
180 plyr[WHITE] = input[WHITE] == USER ? "you" : prog;
207 plyr[BLACK] = input[BLACK] == USER ? "you" : prog;
208 plyr[WHITE] = input[WHITE] == USER ? "you" : prog;
503 fprintf(stderr, "%s: %s\n", prog, str);
/original-bsd/share/mk/
H A DMakefile3 FILES= bsd.doc.mk bsd.lib.mk bsd.man.mk bsd.prog.mk bsd.subdir.mk sys.mk
12 .include <bsd.prog.mk>
/original-bsd/local/kerberosIV/kdb_edit/
H A Dkdb_edit.c45 char prog[32]; variable
46 char *progname = prog;
105 prog[sizeof prog - 1] = '\0'; /* make sure terminated */
106 strncpy(prog, argv[0], sizeof prog - 1); /* salt away invoking
111 fprintf(stdout, "%s: size of long is %d.\n", sizeof(long), prog);
116 fprintf(stderr, "%s: more than 32 signals defined.\n", prog);
/original-bsd/usr.bin/pascal/how/
H A Dhow_pc3 in the characters ".p", e.g. "prog.p". The command
4 pc prog.p
H A Dhow_pi3 in the characters ".p", i.e. "prog.p". The command
4 pi prog.p

12345678910>>...28