Home
last modified time | relevance | path

Searched refs:bufr (Results 1 – 5 of 5) sorted by relevance

/titanic_44/usr/src/cmd/bnu/
H A Dxio.c87 char bufr[XBUFSIZ]; local
89 bufr[0] = type;
90 s = &bufr[1];
96 (void) (*Write)(fn, bufr, strlen(bufr) + 1);
149 char bufr[XBUFSIZ]; local
153 while ((len = read( fd1, bufr, XBUFSIZ )) > 0) {
156 ret = (*Write)(fn, bufr, len);
163 ret = (*Write)(fn, bufr, 0);
184 char bufr[XBUFSIZ]; local
189 len = xrdblk(bufr, XBUFSIZ, fn);
[all …]
H A Dgio.c95 char bufr[BUFSIZ], *s; local
100 bufr[0] = type;
101 s = &bufr[1];
107 len = strlen(bufr) + 1;
110 bufr[len - 1] = '\0';
112 gwrblk(bufr, len);
143 char bufr[BUFSIZ]; local
153 while ((len = read( fd1, bufr, BUFSIZ )) > 0) {
156 ret = gwrblk(bufr, len);
163 ret = gwrblk(bufr, 0);
[all …]
H A Ddio.c112 char bufr[XBUFSIZ]; local
114 bufr[0] = type;
115 s = &bufr[1];
121 return((*Write)(fn, bufr, (unsigned) strlen(bufr) + 1) < 0 ? FAIL : SUCCESS);
172 char bufr[XBUFSIZ]; local
176 while ((len = read( fd1, bufr, XBUFSIZ )) > 0) {
179 ret = (*Write)(fn, bufr, (unsigned) len);
190 ret = (*Write)(fn, bufr, (unsigned) 0);
211 char bufr[XBUFSIZ]; local
216 len = drdblk(bufr, XBUFSIZ, fn);
[all …]
H A Deio.c138 char bufr[EBUFSIZ]; local
175 while ((len = read( fd1, bufr, EBUFSIZ )) > 0) {
180 ret = (*Write)(fn, bufr, (unsigned) len);
207 char bufr[EBUFSIZ]; local
250 len = erdblk(bufr, (int) MIN(msglen, EBUFSIZ), fn);
273 if ( ret == SUCCESS && write( fd2, bufr, len ) != len ) {
374 struct tbuf bufr; local
383 while ((len = read(fileno(fp1), bufr.t_data, TBUFSIZE)) > 0) {
384 bufr.t_nbytes = htonl((long)len);
390 ret = (*Write)(fn, (char *)&bufr, (unsigned) len);
[all …]
H A Dfio.c176 char bufr[MAXMSGLEN]; local
178 s = bufr;
186 (void) write(fn, bufr, s - bufr);