Home
last modified time | relevance | path

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

/external/curl/docs/examples/
Dsendrecv.c35 fd_set infd, outfd, errfd; in wait_on_socket() local
43 FD_ZERO(&errfd); in wait_on_socket()
45 FD_SET(sockfd, &errfd); /* always check for error */ in wait_on_socket()
55 res = select((int)sockfd + 1, &infd, &outfd, &errfd, &tv); in wait_on_socket()
/external/ppp/pppd/
Dmain.c1565 safe_fork(int infd, int outfd, int errfd) in safe_fork() argument
1606 if (errfd == 0 || errfd == 1) in safe_fork()
1607 errfd = dup(errfd); in safe_fork()
1616 if (errfd != 2) in safe_fork()
1617 dup2(errfd, 2); in safe_fork()
1631 if (errfd != 2) in safe_fork()
1632 close(errfd); in safe_fork()
1701 int errfd; local
1704 errfd = log_to_fd;
1706 errfd = open(_PATH_CONNERRS, O_WRONLY | O_APPEND | O_CREAT, 0600);
[all …]
/external/toolchain-utils/cros_utils/
Dcommand_executer.py618 errfd = pobject.stderr.fileno()
619 poll.register(errfd, select.POLLIN | select.POLLPRI)
620 handlermap[errfd] = StreamHandler(pobject, errfd, 'stderr',
/external/dnsmasq/src/
Dlog.c56 int log_start(struct passwd* ent_pw, int errfd) { in log_start() argument
75 send_event(errfd, EVENT_LOG_ERR, errno); in log_start()
Ddnsmasq.h709 int log_start(struct passwd* ent_pw, int errfd);