Home
last modified time | relevance | path

Searched refs:wrfd (Results 1 – 25 of 43) sorted by relevance

12

/dports/sysutils/cluster-glue/Reusable-Cluster-Components-glue--0a7add1d9996/lib/plugins/stonith/
H A Dapcmaster.c131 int wrfd; member
194 SEND(ms->wrfd, "\r"); in MSLogin()
199 SEND(ms->wrfd, "\r"); in MSLogin()
266 SEND(ms->wrfd, "4\r"); in MSLogout()
268 close(ms->wrfd); in MSLogout()
295 SEND(ms->wrfd, "1\r"); in MSReset()
304 SEND(ms->wrfd, "1\r"); in MSReset()
780 if (ms->wrfd >= 0) { in apcmaster_destroy()
781 close(ms->wrfd); in apcmaster_destroy()
782 ms->wrfd = -1; in apcmaster_destroy()
[all …]
H A Dbaytech.c108 int wrfd; member
255 SEND(bt->wrfd, "\r"); in RPCLogin()
272 SEND(bt->wrfd, "\r"); in RPCLogin()
319 SEND(bt->wrfd, "\r"); in RPCLogout()
327 close(bt->wrfd); in RPCLogout()
340 SEND(bt->wrfd, "\r"); in RPCReset()
360 SEND(bt->wrfd, unum); in RPCReset()
844 if (bt->wrfd >= 0) { in baytech_destroy()
845 close(bt->wrfd); in baytech_destroy()
846 bt->wrfd = -1; in baytech_destroy()
[all …]
H A Dwti_nps.c144 int wrfd; member
249 SEND(nps->wrfd, "\r"); in NPSLogin()
289 close(nps->wrfd); in NPSLogout()
307 SEND(nps->wrfd, "/h\r"); in NPSReset()
313 SEND(nps->wrfd, unum); in NPSReset()
339 SEND(nps->wrfd, "/h\r"); in NPSReset()
362 SEND(nps->wrfd, unum); in NPS_onoff()
771 if (nps->wrfd >= 0) { in wti_nps_destroy()
772 close(nps->wrfd); in wti_nps_destroy()
773 nps->wrfd = -1; in wti_nps_destroy()
[all …]
H A Dstonith_expect_helpers.h104 Stonithkillcomm(int *rdfd, int *wrfd, int *pid) in Stonithkillcomm() argument
110 if ((wrfd != NULL) && (*wrfd >= 0)) { in Stonithkillcomm()
111 close(*wrfd); in Stonithkillcomm()
112 *wrfd = -1; in Stonithkillcomm()
H A Dcyclades.c117 int rdfd, wrfd; member
185 Stonithkillcomm(&sd->rdfd, &sd->wrfd, &sd->pid); in CYCScanLine()
219 sd->pid = STARTPROC(SshCommand, &sd->rdfd, &sd->wrfd); in CYC_run_command()
237 Stonithkillcomm(&sd->rdfd, &sd->wrfd, &sd->pid); in CYC_robust_cmd()
241 Stonithkillcomm(&sd->rdfd, &sd->wrfd, &sd->pid); in CYC_robust_cmd()
617 Stonithkillcomm(&sd->rdfd, &sd->wrfd, &sd->pid); in cyclades_destroy()
645 sd->wrfd = -1; in cyclades_new()
/dports/security/courier-authlib-base/courier-authlib-0.71.4/
H A Dauthpipe.c27 extern int _auth_enumerate(int wrfd, int rdfd,
48 int rdfd, wrfd, rc; in auth_pipe() local
64 if (getPipe(&rdfd, &wrfd)) in auth_pipe()
83 int rdfd, wrfd, rc; in auth_pipe_pre() local
95 if (getPipe(&rdfd, &wrfd)) in auth_pipe_pre()
100 rc=_authdaemondo(wrfd, rdfd, buf, callback, arg); in auth_pipe_pre()
114 int rdfd, wrfd, rc; in auth_pipe_chgpwd() local
127 if (getPipe(&rdfd, &wrfd)) in auth_pipe_chgpwd()
159 int rdfd, wrfd, rc; in auth_pipe_enumerate() local
164 if (getPipe(&rdfd, &wrfd)) in auth_pipe_enumerate()
[all …]
H A Dauthdaemonlib.c294 int _authdaemondopasswd(int wrfd, int rdfd, char *buffer, int bufsiz) in _authdaemondopasswd() argument
296 if (writeauth(wrfd, buffer, strlen(buffer))) in _authdaemondopasswd()
321 int _authdaemondo(int wrfd, int rdfd, const char *authreq, in _authdaemondo() argument
329 if (writeauth(wrfd, authreq, strlen(authreq))) in _authdaemondo()
603 int _auth_enumerate(int wrfd, int rdfd, in _auth_enumerate() argument
617 if (writeauth(wrfd, cmd, sizeof(cmd)-1)) in _auth_enumerate()
/dports/databases/courier-authlib-mysql/courier-authlib-0.71.4/
H A Dauthpipe.c27 extern int _auth_enumerate(int wrfd, int rdfd,
48 int rdfd, wrfd, rc; in auth_pipe() local
64 if (getPipe(&rdfd, &wrfd)) in auth_pipe()
83 int rdfd, wrfd, rc; in auth_pipe_pre() local
95 if (getPipe(&rdfd, &wrfd)) in auth_pipe_pre()
100 rc=_authdaemondo(wrfd, rdfd, buf, callback, arg); in auth_pipe_pre()
114 int rdfd, wrfd, rc; in auth_pipe_chgpwd() local
127 if (getPipe(&rdfd, &wrfd)) in auth_pipe_chgpwd()
159 int rdfd, wrfd, rc; in auth_pipe_enumerate() local
164 if (getPipe(&rdfd, &wrfd)) in auth_pipe_enumerate()
[all …]
H A Dauthdaemonlib.c294 int _authdaemondopasswd(int wrfd, int rdfd, char *buffer, int bufsiz) in _authdaemondopasswd() argument
296 if (writeauth(wrfd, buffer, strlen(buffer))) in _authdaemondopasswd()
321 int _authdaemondo(int wrfd, int rdfd, const char *authreq, in _authdaemondo() argument
329 if (writeauth(wrfd, authreq, strlen(authreq))) in _authdaemondo()
603 int _auth_enumerate(int wrfd, int rdfd, in _auth_enumerate() argument
617 if (writeauth(wrfd, cmd, sizeof(cmd)-1)) in _auth_enumerate()
/dports/databases/courier-authlib-pgsql/courier-authlib-0.71.4/
H A Dauthpipe.c27 extern int _auth_enumerate(int wrfd, int rdfd,
48 int rdfd, wrfd, rc; in auth_pipe() local
64 if (getPipe(&rdfd, &wrfd)) in auth_pipe()
83 int rdfd, wrfd, rc; in auth_pipe_pre() local
95 if (getPipe(&rdfd, &wrfd)) in auth_pipe_pre()
100 rc=_authdaemondo(wrfd, rdfd, buf, callback, arg); in auth_pipe_pre()
114 int rdfd, wrfd, rc; in auth_pipe_chgpwd() local
127 if (getPipe(&rdfd, &wrfd)) in auth_pipe_chgpwd()
159 int rdfd, wrfd, rc; in auth_pipe_enumerate() local
164 if (getPipe(&rdfd, &wrfd)) in auth_pipe_enumerate()
[all …]
H A Dauthdaemonlib.c294 int _authdaemondopasswd(int wrfd, int rdfd, char *buffer, int bufsiz) in _authdaemondopasswd() argument
296 if (writeauth(wrfd, buffer, strlen(buffer))) in _authdaemondopasswd()
321 int _authdaemondo(int wrfd, int rdfd, const char *authreq, in _authdaemondo() argument
329 if (writeauth(wrfd, authreq, strlen(authreq))) in _authdaemondo()
603 int _auth_enumerate(int wrfd, int rdfd, in _auth_enumerate() argument
617 if (writeauth(wrfd, cmd, sizeof(cmd)-1)) in _auth_enumerate()
/dports/databases/courier-authlib-sqlite/courier-authlib-0.71.4/
H A Dauthpipe.c27 extern int _auth_enumerate(int wrfd, int rdfd,
48 int rdfd, wrfd, rc; in auth_pipe() local
64 if (getPipe(&rdfd, &wrfd)) in auth_pipe()
83 int rdfd, wrfd, rc; in auth_pipe_pre() local
95 if (getPipe(&rdfd, &wrfd)) in auth_pipe_pre()
100 rc=_authdaemondo(wrfd, rdfd, buf, callback, arg); in auth_pipe_pre()
114 int rdfd, wrfd, rc; in auth_pipe_chgpwd() local
127 if (getPipe(&rdfd, &wrfd)) in auth_pipe_chgpwd()
159 int rdfd, wrfd, rc; in auth_pipe_enumerate() local
164 if (getPipe(&rdfd, &wrfd)) in auth_pipe_enumerate()
[all …]
/dports/databases/courier-authlib-userdb/courier-authlib-0.71.4/
H A Dauthpipe.c27 extern int _auth_enumerate(int wrfd, int rdfd,
48 int rdfd, wrfd, rc; in auth_pipe() local
64 if (getPipe(&rdfd, &wrfd)) in auth_pipe()
83 int rdfd, wrfd, rc; in auth_pipe_pre() local
95 if (getPipe(&rdfd, &wrfd)) in auth_pipe_pre()
100 rc=_authdaemondo(wrfd, rdfd, buf, callback, arg); in auth_pipe_pre()
114 int rdfd, wrfd, rc; in auth_pipe_chgpwd() local
127 if (getPipe(&rdfd, &wrfd)) in auth_pipe_chgpwd()
159 int rdfd, wrfd, rc; in auth_pipe_enumerate() local
164 if (getPipe(&rdfd, &wrfd)) in auth_pipe_enumerate()
[all …]
/dports/databases/courier-authlib-usergdbm/courier-authlib-0.71.4/
H A Dauthpipe.c27 extern int _auth_enumerate(int wrfd, int rdfd,
48 int rdfd, wrfd, rc; in auth_pipe() local
64 if (getPipe(&rdfd, &wrfd)) in auth_pipe()
83 int rdfd, wrfd, rc; in auth_pipe_pre() local
95 if (getPipe(&rdfd, &wrfd)) in auth_pipe_pre()
100 rc=_authdaemondo(wrfd, rdfd, buf, callback, arg); in auth_pipe_pre()
114 int rdfd, wrfd, rc; in auth_pipe_chgpwd() local
127 if (getPipe(&rdfd, &wrfd)) in auth_pipe_chgpwd()
159 int rdfd, wrfd, rc; in auth_pipe_enumerate() local
164 if (getPipe(&rdfd, &wrfd)) in auth_pipe_enumerate()
[all …]
/dports/net/courier-authlib-ldap/courier-authlib-0.71.4/
H A Dauthpipe.c27 extern int _auth_enumerate(int wrfd, int rdfd,
48 int rdfd, wrfd, rc; in auth_pipe() local
64 if (getPipe(&rdfd, &wrfd)) in auth_pipe()
83 int rdfd, wrfd, rc; in auth_pipe_pre() local
95 if (getPipe(&rdfd, &wrfd)) in auth_pipe_pre()
100 rc=_authdaemondo(wrfd, rdfd, buf, callback, arg); in auth_pipe_pre()
114 int rdfd, wrfd, rc; in auth_pipe_chgpwd() local
127 if (getPipe(&rdfd, &wrfd)) in auth_pipe_chgpwd()
159 int rdfd, wrfd, rc; in auth_pipe_enumerate() local
164 if (getPipe(&rdfd, &wrfd)) in auth_pipe_enumerate()
[all …]
/dports/mail/courier-authlib-vchkpw/courier-authlib-0.71.4/
H A Dauthpipe.c27 extern int _auth_enumerate(int wrfd, int rdfd,
48 int rdfd, wrfd, rc; in auth_pipe() local
64 if (getPipe(&rdfd, &wrfd)) in auth_pipe()
83 int rdfd, wrfd, rc; in auth_pipe_pre() local
95 if (getPipe(&rdfd, &wrfd)) in auth_pipe_pre()
100 rc=_authdaemondo(wrfd, rdfd, buf, callback, arg); in auth_pipe_pre()
114 int rdfd, wrfd, rc; in auth_pipe_chgpwd() local
127 if (getPipe(&rdfd, &wrfd)) in auth_pipe_chgpwd()
159 int rdfd, wrfd, rc; in auth_pipe_enumerate() local
164 if (getPipe(&rdfd, &wrfd)) in auth_pipe_enumerate()
[all …]
/dports/lang/swi-pl/swipl-8.2.3/packages/xpce/src/msw/
H A Dmsprocess.c115 { HANDLE wrfd[2]; /* output to process */ in openProcess() local
134 if ( !CreatePipe(&wrfd[0], &wrfd[1], &sa, 0) ) /* read, write */ in openProcess()
137 { CloseHandle(wrfd[0]); in openProcess()
138 CloseHandle(wrfd[1]); in openProcess()
158 startinfo.hStdInput = wrfd[0]; in openProcess()
175 p->wrfd = (intptr_t) wrfd[1]; in openProcess()
181 pp(p), p->wrfd, cmdline, p->rdfd, in openProcess()
194 CloseHandle(wrfd[0]); in openProcess()
/dports/games/wolfpack/empire-4.4.1/src/client/
H A Dplay.c205 w32_select(int nfds, fd_set *rdfd, fd_set *wrfd, fd_set *errfd, in w32_select() argument
228 assert(wrfd->fd_count == 0 in w32_select()
229 || (wrfd->fd_count == 1 && wrfd->fd_array[0] == (SOCKET)sockfd)); in w32_select()
240 if (wrfd->fd_count > 0) in w32_select()
263 if (wrfd->fd_count) in w32_select()
275 FD_CLR((SOCKET)sockfd, wrfd); in w32_select()
557 fd_set rdfd, wrfd; in play() local
586 FD_ZERO(&wrfd); in play()
598 FD_SET(sock, &wrfd); in play()
602 n = select(MAX(input_fd, sock) + 1, &rdfd, &wrfd, NULL, NULL); in play()
[all …]
/dports/lang/swi-pl/swipl-8.2.3/packages/xpce/src/x11/
H A Dxstream.c101 { if ( s->wrfd >= 0 ) in ws_close_output_stream()
105 shutdown(s->wrfd, SHUT_WR); in ws_close_output_stream()
108 close(s->wrfd); in ws_close_output_stream()
109 s->wrfd = -1; in ws_close_output_stream()
185 { if ( s->wrfd < 0 ) in ws_write_stream_data()
187 if ( write(s->wrfd, data, len) != len ) in ws_write_stream_data()
/dports/net/frr7-pythontools/frr-frr-7.5.1/python/
H A Dmakevars.py38 rdfd, wrfd = os.pipe()
41 make = subprocess.Popen(['make', '-s', 'VARFD=%d' % wrfd] + shvars, pass_fds = [wrfd])
42 os.close(wrfd)
/dports/net/frr7/frr-frr-7.5.1/python/
H A Dmakevars.py38 rdfd, wrfd = os.pipe()
41 make = subprocess.Popen(['make', '-s', 'VARFD=%d' % wrfd] + shvars, pass_fds = [wrfd])
42 os.close(wrfd)
/dports/www/p5-CGI-SpeedyCGI/CGI-SpeedyCGI-2.22/src/
H A Dspeedy_cb.c25 CopyBuf *cb, int maxsz, int rdfd, int wrfd, const SpeedyBuf *contents in speedy_cb_init() argument
32 cb->wrfd = wrfd; in speedy_cb_init()
91 n = writev(cb->wrfd, iov, speedy_circ_data_segs(&cb->circ, iov)); in speedy_cb_write()
H A Dspeedy_cb.h25 int wrfd; member
43 do { (cb)->rdfd = (r); (cb)->wrfd = (w); } while (0)
47 CopyBuf *cb, int maxsz, int rdfd, int wrfd, const SpeedyBuf *contents
/dports/devel/cvswrap/cvswrap-0.2/
H A Dcvswrap.c84 static void cvsprog_tee(int wrfd, const char *buf, size_t buflen);
377 int rdfd, wrfd; local
384 wrfd = fildes[1];
391 if (close(wrfd) == -1)
401 *childfdp = wrfd;
408 cvsprog_tee(int wrfd, const char *buf, size_t buflen) in cvsprog_tee() argument
414 if (writebuf(wrfd, buf, buflen) == -1) { in cvsprog_tee()
425 optiosiz = getoptiosiz(stdinfd, wrfd); in cvsprog_tee()
437 if (writebuf(wrfd, optiobuf, bytesread) == -1) { in cvsprog_tee()
/dports/lang/swi-pl/swipl-8.2.3/packages/xpce/src/unx/
H A Dprocess.c645 p->rdfd = p->wrfd = master; in openProcess()
650 { int wrfd[2]; in openProcess() local
654 if ( pipe(wrfd) ) in openProcess()
657 { close(wrfd[0]); in openProcess()
658 close(wrfd[1]); in openProcess()
672 { if ( i != wrfd[0] && i != rdfd[1] ) in openProcess()
676 dup2(wrfd[0], 0); in openProcess()
679 close(wrfd[0]); in openProcess()
698 { close(wrfd[0]); in openProcess()
701 p->wrfd = wrfd[1]; in openProcess()

12