/freebsd-9.3-release/usr.bin/gzip/ |
H A D | unbzip2.c | 71 n = read(in, inbuf, BUFLEN); 73 maybe_err("read");
|
/freebsd-9.3-release/usr.bin/tee/ |
H A D | tee.c | 103 while ((rval = read(STDIN_FILENO, buf, BSIZE)) > 0) 117 err(1, "read");
|
/freebsd-9.3-release/usr.bin/tip/libacu/ |
H A D | df.c | 107 read(f, &c, 1);
|
/freebsd-9.3-release/usr.bin/tip/tip/ |
H A D | uucplock.c | 82 len = read(fd, text_pid, sizeof(text_pid)-1); 86 fprintf(stderr, "Can't read lock file.\n");
|
/freebsd-9.3-release/usr.sbin/kgzip/ |
H A D | xio.c | 59 errx(1, "%s: Short read", idi->fname); 94 if ((n = read(id->fd, buf, nbyte)) == -1)
|
/freebsd-9.3-release/contrib/ntp/tests/ntpd/ |
H A D | t-ntp_signd.c | 29 ** Mocked read() and write() calls. 49 read(int fd, void * buf, size_t len) function 177 ** Send the xpkt to Samba, read the response back in rbufp
|
/freebsd-9.3-release/contrib/ntp/libntp/ |
H A D | work_fork.c | 255 rc = read(c->req_read_pipe, &hdr, sizeof(hdr)); 260 "receive_blocking_req_internal: pipe read %m"); 266 "receive_blocking_req_internal: short header read %d of %lu", 273 rc = read(c->req_read_pipe, (char *)req + sizeof(*req), 278 "receive_blocking_req_internal: pipe data read %m"); 281 "receive_blocking_req_internal: short read %d of %ld", 339 rc = read(c->resp_read_pipe, &hdr, sizeof(hdr)); 342 TRACE(1, ("receive_blocking_resp_internal: pipe read %m\n")); 346 TRACE(1, ("receive_blocking_resp_internal: short header read %d of %lu\n", 357 rc = read( [all...] |
/freebsd-9.3-release/contrib/opie/libopie/ |
H A D | generator.c | 208 if ((i = read(s, cmd, sizeof(cmd)-1)) < 0) { 210 syslog(LOG_DEBUG, "opiegenerator: read: %s(%d)\n", strerror(errno), errno); 272 if ((i = read(s, cmd, sizeof(cmd))) < 0) { 274 syslog(LOG_DEBUG, "opiegenerator: read: %s(%d)\n", strerror(errno), errno); 311 if ((i = read(s, cmd, sizeof(cmd))) < 0) { 313 syslog(LOG_DEBUG, "opiegenerator: read: %s(%d)\n", strerror(errno), errno);
|
/freebsd-9.3-release/games/random/ |
H A D | randomize_fd.c | 120 len = read(fd, buf, buflen); 122 err(1, "read"); 140 len = read(fd, &buf[i], buflen - i); 142 err(1, "read"); 159 len = read(fd, &buf[i], buflen - i); 161 err(1, "read");
|
/freebsd-9.3-release/sbin/dump/ |
H A D | dumprmt.c | 113 if ((i = read(errfd, buf, sizeof(buf) - 1)) > 0) { 227 n = rmtcall("read", line); 232 cc = read(rmtape, buf+i, n - i); 351 if (read(rmtape, &c, 1) != 1)
|
H A D | tape.c | 82 * tape, the others read disk blocks; they pass control of the tape in 236 slp->sent = 1; /* we sent a request, read the response later */ 245 if (atomic(read, slp->fd, (char *)&got, sizeof got) 258 * If we read them here then trewind won't... 262 if (atomic(read, slaves[i].fd, 318 if (atomic(read, slaves[f].fd, (char *)&got, sizeof got) 482 if (atomic(read, slp->fd, (char *)&got, sizeof got) 773 if ((nread = atomic(read, cmd, (char *)&nextslave, sizeof nextslave)) 779 * Get list of blocks to dump, read the blocks into tape buffer 781 while ((nread = atomic(read, cm [all...] |
/freebsd-9.3-release/sys/dev/e1000/ |
H A D | e1000_vf.h | 86 } read; member in union:e1000_adv_rx_desc 123 } read; member in union:e1000_adv_tx_desc 228 s32 (*read)(struct e1000_hw *, u32 *, u16, u16); member in struct:e1000_mbx_operations
|
/freebsd-9.3-release/usr.bin/chat/ |
H A D | chat.c | 316 * Process a chat script when read from a file. 443 signal(SIGALRM, sigalrm); /* that can cause hanging in read() */ 1027 status = read(STDIN_FILENO, &c, 1); 1034 chat_logf("warning: read() on stdin returned %d", status); 1310 chat_logf(" -- read timed out"); 1312 chat_logf(" -- read failed: %m");
|
/freebsd-9.3-release/usr.bin/grep/ |
H A D | file.c | 112 nr = read(f->fd, buffer, MAXBUFSIZ); 135 nr = read(f->fd, in_buf, MAXBUFSIZ); 150 nr = read(f->fd, buffer, MAXBUFSIZ); 288 /* Fill read buffer, also catches errors early */ 314 /* Reset read buffer and line buffer */
|
/freebsd-9.3-release/usr.bin/ldd/ |
H A D | ldd.c | 288 if ((n = read(fd, &hdr, sizeof(hdr))) == -1) { 289 warn("%s: can't read program header", fname); 322 if (read(fd, &phdr, hdr.elf32.e_phentsize) != 324 warnx("%s: can't read program header", fname); 364 if (read(fd, &phdr, hdr.elf.e_phentsize) 366 warnx("%s: can't read program header", fname);
|
/freebsd-9.3-release/usr.bin/rsh/ |
H A D | rsh.c | 251 if ((cc = read(0, buf, sizeof buf)) <= 0) 311 cc = read(rfd2, buf, sizeof buf); 320 cc = read(rem, buf, sizeof buf);
|
/freebsd-9.3-release/usr.sbin/boot98cfg/ |
H A D | boot98cfg.c | 190 n = read(fd1, ipl, IPLSIZE); 201 n = read(fd1, menu, BOOTMENUSIZE); 231 n = read(fd, boot, BOOTSIZE); 233 errx(1, "%s: short read", disk);
|
/freebsd-9.3-release/usr.sbin/fdread/ |
H A D | fdread.c | 183 rv = read(fd, trackbuf, tracksize); 202 rv = read(fd, trackbuf, secsize); 245 rv = read(fd, trackbuf, 249 "read() with FDOPT_NOERROR still fails"); 272 errx(EX_OSERR, "unexpected read() result: %d",
|
/freebsd-9.3-release/usr.sbin/fdwrite/ |
H A D | fdwrite.c | 153 if(!(i = read(inputfd,trackbuf+j,bpt-j))) { 174 if (read (fd, vrfybuf, bpt) != bpt) err(1, "read"); 182 if(!(i = read(inputfd,trackbuf+j,bpt-j))) {
|
/freebsd-9.3-release/usr.sbin/lpr/lpd/ |
H A D | recvjob.c | 163 size = read(STDOUT_FILENO, cp, (size_t)1); 184 case '\2': /* read cf file */ 223 case '\3': /* read df file */ 277 j = read(STDOUT_FILENO, cp, amt); 312 if (read(STDOUT_FILENO, &resp, (size_t)1) != 1) {
|
/freebsd-9.3-release/sys/boot/pc98/cdboot/ |
H A D | cdboot.S | 100 .set ERROR_TIMEOUT,0x90 # BIOS timeout on read 105 .set MAX_READ,0xf800 # max we can read at a time 107 .set MEM_READ_BUFFER,0x9000 # buffer to read from CD 379 call read # Read it in 385 jne load_vd # No, read next 415 # we have to read it in 64k chunks. 424 load_sizeok: movzbw %al,%cx # Num sectors to read 431 cmp $MAX_READ_SEC,%cl # Truncate to max read size 436 call read # Read it in 606 call read # Rea 664 read: push %es # Save label [all...] |
/freebsd-9.3-release/libexec/rlogind/ |
H A D | rlogind.c | 207 read(f, &c, 1); 393 cc = read(p, &cntl, 1); 404 fcc = read(f, fibuf, sizeof(fibuf)); 442 pcc = read(p, pibuf, sizeof (pibuf)); 463 * This happens when we try write after read 533 if (read(STDIN_FILENO, &c, 1) != 1)
|
/freebsd-9.3-release/usr.bin/rlogin/ |
H A D | rlogin.c | 387 n = read(STDIN_FILENO, &c, 1); 504 * reader: read from remote: line -> 1 532 n = read(rem, rcvbuf + rcvcnt, 538 n = read(rem, waste, sizeof(waste)); 570 n = read(rem, waste, sizeof (waste)); 587 * If we filled the receive buffer while a read was pending, longjmp 595 /* reader: read from remote: line -> 1 */ 627 rcvcnt = read(rem, rcvbuf, sizeof (rcvbuf)); 633 warn("read");
|
/freebsd-9.3-release/tools/regression/file/flock/ |
H A D | flock.c | 212 if (read(pfd[0], &ch, 1) != 1) 283 if (read(pfd[0], &ch, 1) != 1) 352 if (read(pfd[0], &ch, 1) != 1) 627 if (read(pfd[0], &ch, 1) != 1) 699 if (read(pfd[0], &ch, 1) != 1) 776 if (read(pfd[0], &ch, 1) != 1) 851 if (read(pfd[0], &ch, 1) != 1) 1002 if (read(pfd[0], &ch, 1) != 1) 1085 while (read(pfd[0], &ch, 1) != 1) { 1201 : "read loc [all...] |
/freebsd-9.3-release/gnu/lib/libodialog/ |
H A D | textbox.c | 76 /* Allocate space for read buffer */ 82 if ((bytes_read = read(fd, buf, BUF_SIZE)) == -1) { 171 if (fpos > bytes_read) { /* Yes, we have to read it in */ 177 if ((bytes_read = read(fd, buf, BUF_SIZE)) == -1) { 202 if (fpos < file_size) { /* Yes, we have to read it in */ 208 if ((bytes_read = read(fd, buf, BUF_SIZE)) == -1) { 387 if ((bytes_read = read(fd, buf, BUF_SIZE)) == -1) { 453 so read previous part of file into buffer. Note that we only 474 if ((bytes_read = read(fd, buf, BUF_SIZE)) == -1) { 522 if ((bytes_read = read(f [all...] |