Searched refs:fd_out (Results 1 - 11 of 11) sorted by relevance

/freebsd-10-stable/usr.sbin/nandtool/
H A Dnand_readoob.c45 int fd = -1, fd_out = -1, ret = 0; local
60 if ((fd_out = open(out, O_WRONLY | O_CREAT)) == -1) {
96 if (fd_out != -1)
97 write(fd_out, buf, chip_params.oob_size);
102 close(fd_out);
/freebsd-10-stable/usr.sbin/ppp/
H A Dexec.c74 int fd_out; /* output descriptor */ member in struct:execdevice
90 if (dev->fd_out != -1)
91 close(dev->fd_out);
111 if (dev->fd_out >= 0) {
112 *auxfd = dev->fd_out;
127 if (dev->fd_out >= 0) {
128 if (w && FD_ISSET(dev->fd_out, w)) {
129 FD_CLR(dev->fd_out, w);
130 log_Printf(LogTIMER, "%s: fdunset(w) %d\n", p->link.name, dev->fd_out);
133 if (e && FD_ISSET(dev->fd_out,
[all...]
H A Dprompt.h42 int fd_in, fd_out; member in struct:prompt
44 FILE *Term; /* sits on top of fd_out */
H A Dprompt.c333 p->fd_out = STDOUT_FILENO;
342 p->fd_in = p->fd_out = fd;
367 if (p->fd_out != p->fd_in)
368 close(p->fd_out);
H A Dcommand.c660 fd = arg->prompt->fd_out;
/freebsd-10-stable/libexec/atrun/
H A Datrun.c128 int fd_out, fd_in; local
257 if((fd_out=open(filename,
261 write_string(fd_out, "Subject: Output from your job ");
262 write_string(fd_out, filename);
263 write_string(fd_out, "\n\n");
264 fstat(fd_out, &buf);
290 if (dup(fd_out) != STDOUT_FILENO)
293 if (dup(fd_out) != STDERR_FILENO)
297 close(fd_out);
344 close(fd_out);
[all...]
/freebsd-10-stable/crypto/openssh/
H A Dopacket.c231 packet_set_connection(int fd_in, int fd_out) argument
233 active_state = ssh_packet_set_connection(active_state, fd_in, fd_out);
H A Dsftp-client.c73 int fd_out; member in struct:sftp_conn
118 if (atomiciov6(writev, conn->fd_out, iov, 2,
174 debug3("Sent message fd %d T:%u I:%u", conn->fd_out, code, id);
193 debug3("Sent message fd %d T:%u I:%u", conn->fd_out, code, id);
377 do_init(int fd_in, int fd_out, u_int transfer_buflen, u_int num_requests, argument
388 ret->fd_out = fd_out;
H A Dpacket.c278 ssh_packet_set_connection(struct ssh *ssh, int fd_in, int fd_out) argument
296 state->connection_out = fd_out;
/freebsd-10-stable/contrib/ntp/sntp/libevent/include/event2/
H A Devent.h1388 event_base is copied into *base_out, the fd is copied into *fd_out, and so
1395 struct event_base **base_out, evutil_socket_t *fd_out, short *events_out,
/freebsd-10-stable/contrib/ntp/sntp/libevent/
H A Devent.c2322 event_get_assignment(const struct event *event, struct event_base **base_out, evutil_socket_t *fd_out, short *events_out, event_callback_fn *callback_out, void **arg_out) argument
2328 if (fd_out)
2329 *fd_out = event->ev_fd;

Completed in 101 milliseconds