Searched defs:chnl_fd (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libtsalarm/common/
H A Dtsalarm.c49 int chnl_fd; local
59 if ((chnl_fd = pcp_init(TSALARM_SERVICE_NAME)) < 0) {
86 if (pcp_send_recv(chnl_fd, &send_msg, &recv_msg,
91 if (pcp_send_recv(chnl_fd, &send_msg, &recv_msg,
133 (void) pcp_close(chnl_fd);
141 int chnl_fd; local
151 if ((chnl_fd = pcp_init(TSALARM_SERVICE_NAME)) < 0) {
181 if (pcp_send_recv(chnl_fd, &send_msg, &recv_msg,
186 if (pcp_send_recv(chnl_fd, &send_msg, &recv_msg,
237 (void) pcp_close(chnl_fd);
[all...]
/illumos-gate/usr/src/lib/libpcp/common/
H A Dlibpcp.c95 static int chnl_fd = -1; variable
366 /* copy channel_fd to local fd (chnl_fd) for other functions use */
367 chnl_fd = channel_fd;
667 if ((ret = ioctl(chnl_fd, GLVC_XPORT_IOCTL_DATA_PEEK, &peek_ctrl))
705 if ((ret = write(chnl_fd, buf, byte_cnt)) < 0) {
711 if ((ret = vldc_write(chnl_fd, buf, byte_cnt)) <= 0) {
784 if ((ret = read(chnl_fd, read_tail, m)) < 0) {
795 if ((ret = vldc_read(chnl_fd,
862 if ((ret = vldc_read(chnl_fd,

Completed in 44 milliseconds