/dports/www/links1/links-1.04/ |
H A D | af_unix.c | 94 EINTRLOOP(rs, unlink(s_unix.suni.sun_path)); in unlink_unix() 145 EINTRLOOP(rs, close(s_unix_fd)); in bind_to_af_unix() 148 EINTRLOOP(rs, close(s_unix_fd)); in bind_to_af_unix() 161 EINTRLOOP(rs, close(s_unix_fd)); in bind_to_af_unix() 168 EINTRLOOP(rs, close(s_unix_fd)); in bind_to_af_unix() 191 EINTRLOOP(rs, listen(s_unix_fd, 100)); in bind_to_af_unix() 195 EINTRLOOP(rs, close(s_unix_fd)); in bind_to_af_unix() 215 EINTRLOOP(rs, close(ns)); in af_unix_connection() 220 EINTRLOOP(rs, close(ns)); in af_unix_connection() 224 EINTRLOOP(rs, close(ns)); in af_unix_connection() [all …]
|
H A D | os_dep.c | 377 EINTRLOOP(r, pipe(fd)); in c_pipe() 819 EINTRLOOP(p, fork()); in exe() 963 EINTRLOOP(pid, fork()); in exe() 968 EINTRLOOP(rs, close(i)); in exe() 1011 EINTRLOOP(rs, close(h)); in get_clipboard_text() 1036 EINTRLOOP(rs, close(h)); in set_clipboard_text() 1118 EINTRLOOP(pid, fork()); in call_resize() 1123 EINTRLOOP(rs, close(i)); in call_resize() 1348 EINTRLOOP(rs, close(t->h)); in bgt() 1511 EINTRLOOP(rs, close(h)); in input_thread() [all …]
|
H A D | dns.c | 66 EINTRLOOP(f, fork()); in do_external_lookup() 68 EINTRLOOP(rs, close(pi[0])); in do_external_lookup() 69 EINTRLOOP(rs, close(pi[1])); in do_external_lookup() 73 EINTRLOOP(rs, close(pi[0])); in do_external_lookup() 74 EINTRLOOP(rs, dup2(pi[1], 1)); in do_external_lookup() 76 EINTRLOOP(rs, dup2(pi[1], 2)); in do_external_lookup() 78 EINTRLOOP(rs, close(pi[1])); in do_external_lookup() 83 EINTRLOOP(rs, close(pi[1])); in do_external_lookup() 89 EINTRLOOP(rs, close(pi[0])); in do_external_lookup() 154 EINTRLOOP(rs, close(q->h)); in end_real_lookup() [all …]
|
H A D | connect.c | 18 EINTRLOOP(fd, open(LOG_TRANSFER, O_WRONLY | O_APPEND | O_CREAT, 0600)); in log_data() 22 EINTRLOOP(rw, write(fd, data, len)); in log_data() 23 EINTRLOOP(rw, close(fd)); in log_data() 41 EINTRLOOP(rs, close(*s)); in close_socket() 92 EINTRLOOP(rs, getsockname(cc, (struct sockaddr *)&sa, &len)); in get_pasv_socket() 99 EINTRLOOP(s, socket(PF_INET, SOCK_STREAM, IPPROTO_TCP)); in get_pasv_socket() 105 EINTRLOOP(rs, bind(s, (struct sockaddr *)&sb, sizeof sb)); in get_pasv_socket() 108 EINTRLOOP(rs, getsockname(s, (struct sockaddr *)&sa, &len)); in get_pasv_socket() 110 EINTRLOOP(rs, listen(s, 1)); in get_pasv_socket() 159 EINTRLOOP(s, socket(PF_INET, SOCK_STREAM, IPPROTO_TCP)); in dns_found() [all …]
|
H A D | main.c | 42 EINTRLOOP(pid, getpid()); in sig_tstp() 46 EINTRLOOP(newpid, fork()); in sig_tstp() 51 EINTRLOOP(rr, kill(pid, SIGCONT)); in sig_tstp() 57 EINTRLOOP(rr, raise(SIGSTOP)); in sig_tstp() 62 EINTRLOOP(rr, kill(newpid, SIGKILL)); in sig_tstp() 81 EINTRLOOP(r, kill(0, SIGCONT)); in poll_fg() 167 EINTRLOOP(rs, close(terminal_pipe[0])); in attach_terminal() 168 EINTRLOOP(rs, close(terminal_pipe[1])); in attach_terminal() 292 EINTRLOOP(rs, close(terminal_pipe[0])); in init() 293 EINTRLOOP(rs, close(terminal_pipe[1])); in init() [all …]
|
H A D | smb.c | 117 EINTRLOOP(rs, close(po[0])); in smb_func() 118 EINTRLOOP(rs, close(po[1])); in smb_func() 124 EINTRLOOP(r, fork()); in smb_func() 133 EINTRLOOP(rs, close(po[0])); in smb_func() 134 EINTRLOOP(rs, close(po[1])); in smb_func() 135 EINTRLOOP(rs, close(pe[0])); in smb_func() 136 EINTRLOOP(rs, close(pe[1])); in smb_func() 146 EINTRLOOP(rs, close(1)); in smb_func() 151 EINTRLOOP(rs, close(2)); in smb_func() 153 EINTRLOOP(rs, close(0)); in smb_func() [all …]
|
H A D | select.c | 39 EINTRLOOP(rs, gettimeofday(&tv, NULL)); in get_time() 55 EINTRLOOP(rs, select(0, NULL, NULL, NULL, &tv)); in portable_sleep() 248 EINTRLOOP(rd, (int)read(h, c, sizeof c)); in clear_events() 296 EINTRLOOP(wr, write(signal_pipe[1], "", 1)); in got_signal() 320 EINTRLOOP(rs, sigaction(sig, &sa, NULL)); in install_signal_handler() 325 EINTRLOOP(rs, sigaction(sig, &sa, NULL)); in install_signal_handler() 348 EINTRLOOP(rs, sigaction(sig, &sa, NULL)); in interruptible_signal() 412 EINTRLOOP(pid, wait(NULL)); in sigchld() 415 EINTRLOOP(pid, waitpid(-1, NULL, WNOHANG)); in sigchld() 436 EINTRLOOP(rs, stat(".", &st)); in select_loop() [all …]
|
H A D | vms.c | 334 EINTRLOOP(ret, (int)vms_write(h, "", 1)); in vms_x11_thread() 390 EINTRLOOP(rs, listen(s1, 1)); in vms_socketpair() 409 EINTRLOOP(rs, close(s1)); in vms_socketpair() 414 EINTRLOOP(rs, close(s2)); in vms_socketpair() 416 EINTRLOOP(rs, close(s1)); in vms_socketpair() 537 EINTRLOOP(rs, select(fd + 1, in check_fd() 949 EINTRLOOP(fd[0], open("/dev/null", O_RDONLY)); in c_pipe() 952 EINTRLOOP(fd[1], open("/dev/null", O_WRONLY)); in c_pipe() 974 EINTRLOOP(rs, close(fd[1])); in c_pipe() 976 EINTRLOOP(rs, close(fd[0])); in c_pipe() [all …]
|
H A D | file.c | 235 EINTRLOOP(rs, stat(cast_const_char name, &stt)); in file_func() 244 EINTRLOOP(h, open(cast_const_char name, O_RDONLY | O_NOCTTY)); in file_func() 263 EINTRLOOP(rs, close(h)); in file_func() 315 EINTRLOOP(rs, lstat(cast_const_char n, &stt)); in file_func() 317 EINTRLOOP(rs, stat(cast_const_char n, &stt)); in file_func() 345 EINTRLOOP(r, (int)readlink(cast_const_char n, cast_char buf, size)); in file_func() 366 EINTRLOOP(rs, stat(cast_const_char n, &st)); in file_func() 394 EINTRLOOP(rs, close(h)); in file_func() 402 EINTRLOOP(rs, close(h)); in file_func() 414 EINTRLOOP(rs, close(h)); in file_func() [all …]
|
H A D | default.c | 16 EINTRLOOP(rs, uname(&name)); in get_system_name() 544 EINTRLOOP(rs, close(h)); in read_config_file() 586 EINTRLOOP(rs, close(h)); in write_to_config_file() 589 EINTRLOOP(rs, close(h)); in write_to_config_file() 598 EINTRLOOP(rs, unlink(name)); in write_to_config_file() 601 EINTRLOOP(rs, unlink(name)); in write_to_config_file() 603 EINTRLOOP(rs, rename(tmp_name, name)); in write_to_config_file() 663 EINTRLOOP(rs, stat(home, &st)); in get_home() 705 EINTRLOOP(rs, stat(home_links, &st)); in get_home() 716 EINTRLOOP(rs, stat(home_links, &st)); in get_home() [all …]
|
H A D | terminal.c | 8 EINTRLOOP(w, write(fd, p, l)); in hard_write() 27 EINTRLOOP(r, read(fd, p, l)); in hard_read() 58 EINTRLOOP(rs, chdir(path)); in set_cwd() 577 EINTRLOOP(rs, close(term->blocked)); in destroy_terminal() 581 EINTRLOOP(rs, close(term->fdin)); in destroy_terminal() 584 EINTRLOOP(rs, close(term->fdout)); in destroy_terminal() 591 EINTRLOOP(rp, fork()); in destroy_terminal() 716 EINTRLOOP(rs, setpgid(0, 0)); in exec_thread() 720 EINTRLOOP(rs, unlink(path + 1 + strlen(path + 1) + 1)); in exec_thread() 727 EINTRLOOP(rs, close(h)); in close_handle() [all …]
|
/dports/www/links/links-2.25/ |
H A D | af_unix.c | 172 EINTRLOOP(rs, unlink(s_unix.suni.sun_path)); in unlink_unix() 206 EINTRLOOP(rs, bind(s_unix_fd, &s_unix.s, s_unix_l)); in bind_to_af_unix() 211 EINTRLOOP(rs, close(s_unix_fd)); in bind_to_af_unix() 214 EINTRLOOP(rs, close(s_unix_fd)); in bind_to_af_unix() 226 EINTRLOOP(rs, close(s_unix_fd)); in bind_to_af_unix() 233 EINTRLOOP(rs, close(s_unix_fd)); in bind_to_af_unix() 256 EINTRLOOP(rs, listen(s_unix_fd, 100)); in bind_to_af_unix() 260 EINTRLOOP(rs, close(s_unix_fd)); in bind_to_af_unix() 280 EINTRLOOP(rs, close(ns)); in af_unix_connection() 285 EINTRLOOP(rs, close(ns)); in af_unix_connection() [all …]
|
H A D | os_dep.c | 777 EINTRLOOP(r, pipe(fd)); in c_pipe() 789 EINTRLOOP(h, dup(oh)); in c_dup() 853 EINTRLOOP(h, dirfd(d)); in c_opendir() 1346 EINTRLOOP(p, fork()); in exe() 1544 EINTRLOOP(pid, fork()); in exe() 1625 EINTRLOOP(pid, fork()); in exe_on_background() 1678 EINTRLOOP(rs, close(h)); in get_clipboard_text() 1710 EINTRLOOP(rs, close(h)); in set_clipboard_text() 1787 EINTRLOOP(pid, fork()); in call_resize() 2664 EINTRLOOP(f, fork()); in start_thread() [all …]
|
H A D | select.c | 142 EINTRLOOP(rs, dup2(n, std)); in close_std_handle() 145 EINTRLOOP(rs, close(n)); in close_std_handle() 149 EINTRLOOP(rs, close(h)); in close_std_handle() 151 EINTRLOOP(rs, close(n)); in close_std_handle() 167 EINTRLOOP(rs, dup2(h, std)); in restore_std_handle() 168 EINTRLOOP(rs, close(h)); in restore_std_handle() 619 EINTRLOOP(rs, fstat(fd, &st)); in set_handlers_file_line() 682 EINTRLOOP(rd, (int)read(h, c, sizeof c)); in clear_events() 767 EINTRLOOP(rs, sigaction(sig, &sa, NULL)); in install_signal_handler() 795 EINTRLOOP(rs, sigaction(sig, &sa, NULL)); in interruptible_signal() [all …]
|
H A D | smb.c | 116 EINTRLOOP(rs, close(po[0])); in smb_func() 117 EINTRLOOP(rs, close(po[1])); in smb_func() 123 EINTRLOOP(r, fork()); in smb_func() 132 EINTRLOOP(rs, close(po[0])); in smb_func() 133 EINTRLOOP(rs, close(po[1])); in smb_func() 134 EINTRLOOP(rs, close(pe[0])); in smb_func() 135 EINTRLOOP(rs, close(pe[1])); in smb_func() 145 EINTRLOOP(rs, close(1)); in smb_func() 150 EINTRLOOP(rs, close(2)); in smb_func() 152 EINTRLOOP(rs, close(0)); in smb_func() [all …]
|
H A D | connect.c | 29 EINTRLOOP(rw, write(fd, data, len)); in log_data() 30 EINTRLOOP(rw, close(fd)); in log_data() 34 EINTRLOOP(rw, write(2, data, len)); in log_data() 113 EINTRLOOP(rs, close(s)); in socket_and_bind() 124 EINTRLOOP(rs, close(s)); in socket_and_bind() 136 EINTRLOOP(rs, close(s)); in socket_and_bind() 150 EINTRLOOP(rs, close(s)); in socket_and_bind() 158 EINTRLOOP(rs, close(s)); in socket_and_bind() 172 EINTRLOOP(rs, close(*s)); in close_socket() 297 EINTRLOOP(rs, listen(s, 1)); in get_pasv_socket() [all …]
|
H A D | framebuf.c | 182 EINTRLOOP(rs, ioctl(TTY,VT_RELDISP,1));\ 324 EINTRLOOP(rs, fsync(fb_handle)); in fb_key_in() 859 EINTRLOOP(rs, fsync(fb_handle)); in fb_switch_signal_acq() 1031 EINTRLOOP(rs, fsync(fb_handle)); 1108 EINTRLOOP(rs, fsync(fb_handle)); 1356 EINTRLOOP(rs, fstat(TTY, &st)); 1615 EINTRLOOP(rs, fsync(fb_handle)); 1641 EINTRLOOP(rs, fsync(fb_handle)); 1661 EINTRLOOP(rs, close(fb_handle)); 2083 EINTRLOOP(rs, fsync(fb_handle)); [all …]
|
H A D | dns.c | 188 EINTRLOOP(f, fork()); in do_external_lookup() 190 EINTRLOOP(rs, close(pi[0])); in do_external_lookup() 191 EINTRLOOP(rs, close(pi[1])); in do_external_lookup() 197 EINTRLOOP(rs, setsid()); in do_external_lookup() 199 EINTRLOOP(rs, close(pi[0])); in do_external_lookup() 204 EINTRLOOP(rs, close(pi[1])); in do_external_lookup() 209 EINTRLOOP(rs, close(pi[1])); in do_external_lookup() 215 EINTRLOOP(rs, close(pi[0])); in do_external_lookup() 473 EINTRLOOP(rs, close(q->h)); in end_real_lookup() 777 EINTRLOOP(rs, close(h)); in ipv6_full_access() [all …]
|
H A D | file.c | 255 EINTRLOOP(rs, stat(cast_const_char name, &stt)); in file_func() 282 EINTRLOOP(rs, close(h)); in file_func() 346 EINTRLOOP(rs, lstat(cast_const_char n, &stt)); in file_func() 348 EINTRLOOP(rs, stat(cast_const_char n, &stt)); in file_func() 376 EINTRLOOP(r, (int)readlink(cast_const_char n, cast_char buf, size)); in file_func() 397 EINTRLOOP(rs, stat(cast_const_char n, &st)); in file_func() 427 EINTRLOOP(rs, close(h)); in file_func() 435 EINTRLOOP(rs, close(h)); in file_func() 447 EINTRLOOP(rs, close(h)); in file_func() 452 EINTRLOOP(rs, close(h)); in file_func()
|
H A D | vms.c | 392 EINTRLOOP(ret, (int)vms_write(h, "", 1)); in vms_x11_thread() 421 EINTRLOOP(r, socketpair(AF_INET, SOCK_STREAM, 0, fd)); in vms_socketpair() 445 EINTRLOOP(rs, getsockname(s1, (struct sockaddr *)&sa1, &l)); in vms_socketpair() 448 EINTRLOOP(rs, listen(s1, 1)); in vms_socketpair() 467 EINTRLOOP(rs, close(s1)); in vms_socketpair() 472 EINTRLOOP(rs, close(s2)); in vms_socketpair() 474 EINTRLOOP(rs, close(s1)); in vms_socketpair() 583 EINTRLOOP(rs, select(fd + 1, in check_fd() 747 EINTRLOOP(r, (int)write(select_thread_signal[1], "", 1)); in select_thread_wake() 994 EINTRLOOP(rs, ioctl(fd, FIONBIO, &on)); in set_nonblock() [all …]
|
H A D | vpipe.inc | 140 EINTRLOOP(fd[0], open("/dev/null", O_RDONLY)); 143 EINTRLOOP(fd[1], open("/dev/null", O_WRONLY)); 169 EINTRLOOP(rs, close(fd[1])); 171 EINTRLOOP(rs, close(fd[0]));
|
H A D | main.c | 55 EINTRLOOP(pid, getpid()); in sig_tstp() 62 EINTRLOOP(newpid, fork()); in sig_tstp() 67 EINTRLOOP(rr, kill(pid, SIGCONT)); in sig_tstp() 73 EINTRLOOP(rr, raise(SIGSTOP)); in sig_tstp() 78 EINTRLOOP(rr, kill(newpid, SIGKILL)); in sig_tstp() 101 EINTRLOOP(r, kill(0, SIGCONT)); in poll_fg() 230 EINTRLOOP(r, close(h)); in gfx_connection() 238 EINTRLOOP(r, close(h)); in gfx_connection()
|
/dports/devel/remake/remake-4.3+dbg-1.5/src/ |
H A D | posixos.c | 57 EINTRLOOP (job_rfd, dup (job_fds[0])); in make_job_rfd() 71 EINTRLOOP (flags, fcntl (fd, F_GETFL)); in set_blocking() 76 EINTRLOOP (r, fcntl (fd, F_SETFL, flags)); in set_blocking() 88 EINTRLOOP (r, pipe (job_fds)); in jobserver_setup() 102 EINTRLOOP (r, write (job_fds[1], &token, 1)); in jobserver_setup() 182 EINTRLOOP (r, write (job_fds[1], &token, 1)); in jobserver_release() 207 EINTRLOOP (r, read (job_fds[0], &intake, 1)); in jobserver_acquire_all() 491 EINTRLOOP (flags, fcntl (fd, F_GETFD)); in fd_inherit() 496 EINTRLOOP (r, fcntl (fd, F_SETFD, flags)); in fd_inherit() 504 EINTRLOOP(flags, fcntl(fd, F_GETFD)); in fd_noinherit() [all …]
|
H A D | arscan.c | 319 EINTRLOOP (o, lseek (desc, 0, 0)); in ar_scan() 408 EINTRLOOP (o, lseek (desc, member_offset, 0)); in ar_scan() 747 EINTRLOOP (fd, open (arname, O_RDWR, 0666)); in ar_member_touch() 751 EINTRLOOP (o, lseek (fd, pos, 0)); in ar_member_touch() 758 EINTRLOOP (r, fstat (fd, &statbuf)); in ar_member_touch() 771 EINTRLOOP (o, lseek (fd, pos, 0)); in ar_member_touch()
|
/dports/devel/gmake/make-4.3/src/ |
H A D | posixos.c | 57 EINTRLOOP (job_rfd, dup (job_fds[0])); in make_job_rfd() 71 EINTRLOOP (flags, fcntl (fd, F_GETFL)); in set_blocking() 76 EINTRLOOP (r, fcntl (fd, F_SETFL, flags)); in set_blocking() 88 EINTRLOOP (r, pipe (job_fds)); in jobserver_setup() 102 EINTRLOOP (r, write (job_fds[1], &token, 1)); in jobserver_setup() 182 EINTRLOOP (r, write (job_fds[1], &token, 1)); in jobserver_release() 207 EINTRLOOP (r, read (job_fds[0], &intake, 1)); in jobserver_acquire_all() 491 EINTRLOOP (flags, fcntl (fd, F_GETFD)); in fd_inherit() 496 EINTRLOOP (r, fcntl (fd, F_SETFD, flags)); in fd_inherit() 504 EINTRLOOP(flags, fcntl(fd, F_GETFD)); in fd_noinherit() [all …]
|