Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_ipc.c47 static int slpdfd; /* cached FD to slpd */ variable
70 if (slpdfd) in open_ipc()
77 slpdfd = 0; in open_ipc()
85 if ((slpdfd = socket(AF_INET, SOCK_STREAM, 0)) == -1) { in open_ipc()
88 slpdfd = 0; in open_ipc()
93 if (connect(slpdfd, (struct sockaddr *)local_sin, in open_ipc()
106 (void) close(slpdfd); in open_ipc()
107 slpdfd = 0; in open_ipc()
111 (void) close(slpdfd); in open_ipc()
133 if (!slpdfd) { in close_ipc()
[all …]