Home
last modified time | relevance | path

Searched refs:inbuf (Results 1 – 14 of 14) sorted by relevance

/original-bsd/usr.bin/msgs/
H A Dmsgs.c321 fgets(inbuf, sizeof inbuf, stdin);
331 fgets(inbuf, sizeof inbuf, stdin);
465 && fgets(inbuf, sizeof inbuf, newmsg)
492 in = inbuf;
562 if (inbuf[0] == '-' || isdigit(inbuf[0]))
591 while (fgets(inbuf, sizeof inbuf, newmsg)) {
683 (void) fgets(inbuf, sizeof inbuf, stdin);
684 if ((n = strlen(inbuf)) > 0 && inbuf[n - 1] == '\n')
736 while (n = fread(inbuf, 1, sizeof inbuf, cpfrom))
765 if (fgets(inbuf, sizeof inbuf, infile)) {
[all …]
/original-bsd/games/caesar/
H A Dcaesar.c52 register char *inbuf; local
59 if (!(inbuf = malloc(LINELENGTH))) {
71 if ((nread = read(STDIN_FILENO, inbuf, LINELENGTH)) < 0) {
76 ch = inbuf[i];
103 ch = inbuf[i];
108 if ((nread = read(STDIN_FILENO, inbuf, LINELENGTH)) < 0) {
/original-bsd/old/vfilters/vdmp/
H A Dvdmp.c42 int inbuf[BLOCK/sizeof(int)]; variable
83 n = read(IN, inbuf, BLOCK);
84 if (inbuf[0] == MAGIC_WORD && n == BLOCK) {
86 inbuf[(BLOCK/sizeof(int))-1] = 0; /* make sure string terminates */
88 write(OUT, &inbuf[4], (strlen(&inbuf[4])+1) & ~1);
/original-bsd/contrib/dungeon/
H A Dlex.c4 lex_(inbuf, inlnt, outbuf, op, vbflag, lprscon) in lex_() argument
5 char inbuf[78]; in lex_()
30 j = inbuf[prsptr++];
/original-bsd/sys/isofs/cd9660/
H A Dcd9660_rrip.c70 char *outbuf, *inbuf; local
94 inbuf = "..";
122 wlen = strlen(inbuf);
127 inbuf = hostname;
137 inbuf = pcomp->name;
154 bcopy(inbuf,outbuf,wlen);
178 char *inbuf; local
182 inbuf = "..";
199 inbuf = hostname;
209 inbuf = (char *)p + 5;
[all …]
/original-bsd/lib/libtelnet/
H A Dkerberos5.c335 krb5_data inbuf; local
452 inbuf.data = (char *)data;
453 inbuf.length = cnt;
454 if (r = rd_and_store_for_creds(&inbuf, authdat->ticket,
519 krb5_data inbuf; local
523 inbuf.length = cnt;
524 inbuf.data = (char *)data;
530 if (r = krb5_rd_rep(&inbuf, &tmpkey, &reply)) {
H A Dforward.c380 rd_and_store_for_creds(inbuf, ticket, lusername) in rd_and_store_for_creds() argument
381 krb5_data *inbuf; in rd_and_store_for_creds()
392 if (retval = rd_cred(inbuf, ticket->enc_part2->session,
430 rd_cred(inbuf, key, creds, sender_addr, recv_addr) in rd_cred() argument
431 const krb5_data *inbuf; in rd_cred()
444 if (!krb5_is_krb_cred(inbuf))
448 if (retval = decode_krb5_cred(inbuf, &credmsg)) {
/original-bsd/sbin/routed/
H A Dmain.c269 } inbuf; local
273 cc = recvfrom(fd, &inbuf, sizeof (inbuf), 0, &from, &fromlen);
281 rip_input(&from, &inbuf.rip, cc);
/original-bsd/lib/librpc/rpc/
H A Dpmap_rmt.c250 char outbuf[MAX_BROADCAST_SIZE], inbuf[UDPMSGSIZE]; local
274 nets = getbroadcastnets(addrs, sock, inbuf);
346 inlen = recvfrom(sock, inbuf, UDPMSGSIZE, 0,
361 xdrmem_create(xdrs, inbuf, (u_int)inlen, XDR_DECODE);
/original-bsd/sys/vax/stand/
H A Dimptst.c26 char inbuf[BUFSIZ]; variable
92 error = impread(inbuf, i); in main()
/original-bsd/old/berknet/
H A Dprot.c74 xwrite(inbuf,amt) in xwrite() argument
75 char *inbuf; in xwrite()
100 b = inbuf+cnt;
/original-bsd/old/more/
H A Dmore.c1676 expand (outbuf, inbuf) in expand() argument
1678 char *inbuf;
1686 instr = inbuf;
/original-bsd/local/toolchest/ksh/sh/
H A Dbuiltin.c1244 char inbuf[BUFSIZ]; local
1254 setbuf(f,inbuf);
/original-bsd/lib/libedit/
H A Dmap.c1199 char inbuf[EL_BUFSIZ]; local
1264 if ((in = parse__string(inbuf, argv[argc++])) == NULL) {