Home
last modified time | relevance | path

Searched refs:safe_read (Results 1 – 25 of 57) sorted by relevance

123

/busybox-1.35.0/libbb/
Dread.c11 ssize_t FAST_FUNC safe_read(int fd, void *buf, size_t count) in safe_read() function
44 cc = safe_read(fd, buf, len); in full_read()
Dread_key.c141 n = safe_read(fd, buffer, 1); in read_key()
182 if (safe_read(fd, buffer + n, 1) <= 0) { in read_key()
227 if (safe_read(fd, buffer + n, 1) <= 0) { in read_key()
Dcopyfd.c87 rd = safe_read(src_fd, buffer, in bb_full_fd_action()
Dread_printf.c54 n = safe_read(fd, buf, count); in nonblock_immune_read()
/busybox-1.35.0/debianutils/
Dpipe_progress.c36 while ((len = safe_read(STDIN_FILENO, buf, PIPE_PROGRESS_SIZE)) > 0) { in pipe_progress_main()
/busybox-1.35.0/util-linux/
Dscript.c165 count = safe_read(pty, buf, COMMON_BUFSIZE); in script_main()
189 count = safe_read(STDIN_FILENO, buf, COMMON_BUFSIZE); in script_main()
208 while (--loop && (count = safe_read(pty, buf, COMMON_BUFSIZE)) > 0) { in script_main()
Drdate.c50 if (safe_read(fd, &nett, 4) != 4) /* read time from server */ in askremotedate()
Duevent.c80 len = safe_read(fd, netbuf, USER_RCVBUF - 1); in uevent_main()
Dfdformat.c116 read_bytes = safe_read(fd, data, n); in fdformat_main()
Drtcwake.c219 ssize_t ret = safe_read(fd, &data, sizeof(data)); in rtcwake_main()
/busybox-1.35.0/miscutils/
Dmicrocom.c144 if (safe_read(STDIN_FILENO, &c, 1) < 1) { in microcom_main()
170 len = safe_read(sfd, iobuf, COMMON_BUFSIZE); in microcom_main()
/busybox-1.35.0/networking/udhcp/
Dsignalpipe.c90 if (safe_read(READ_FD, &sig, 1) != 1) in udhcp_sp_read()
Darpping.c101 r = safe_read(s, &arp, sizeof(arp)); in arpping()
Dd6_packet.c37 bytes = safe_read(fd, packet, sizeof(*packet)); in d6_recv_kernel_packet()
/busybox-1.35.0/coreutils/
Dsum.c56 size_t bytes_read = safe_read(fd, buf, COMMON_BUFSIZE); in sum_file()
Dcksum.c67 int bytes_read = safe_read(fd, read_buf, COMMON_BUFSIZE); in cksum_main()
Dtee.c115 while ((c = safe_read(STDIN_FILENO, buf, COMMON_BUFSIZE)) > 0) { in tee_main()
Dsplit.c141 bytes_read = safe_read(STDIN_FILENO, read_buffer, READ_BUFFER_SIZE); in split_main()
Dmd5_sha1_sum.c231 while ((count = safe_read(src_fd, in_buf, 4096)) > 0) { in hash_file()
/busybox-1.35.0/archival/libarchive/
Ddecompress_unxz.c75 int rd = safe_read(xstate->src_fd, membuf, BUFSIZ); in IF_DESKTOP()
/busybox-1.35.0/networking/
Disrv_identd.c69 sz = safe_read(fd, cur, sizeof(buf->buf) - 1 - buf->pos); in do_rd()
Dnc.c268 nread = safe_read(pfds[fdidx].fd, iobuf, COMMON_BUFSIZE); in nc_main()
/busybox-1.35.0/printutils/
Dlpd.c271 if (safe_read(STDIN_FILENO, &s[1], 1) != 1 || s[1] != 0) { in lpd_main()
Dlpr.c63 sz = safe_read(fd, buf, 1); in get_response_or_say_and_die()
/busybox-1.35.0/loginutils/
Dgetty.c438 nread = safe_read(STDIN_FILENO, G.line_buf, sizeof(G.line_buf) - 1); in auto_baud()
700 while (safe_read(STDIN_FILENO, &ch, 1) == 1) { in getty_main()

123