Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/libslp/clib/
H A Dslp_ipc.c49 static int slpdfd; /* cached FD to slpd */ variable
72 if (slpdfd) in open_ipc()
79 slpdfd = 0; in open_ipc()
87 if ((slpdfd = socket(AF_INET, SOCK_STREAM, 0)) == -1) { in open_ipc()
90 slpdfd = 0; in open_ipc()
95 if (connect(slpdfd, (struct sockaddr *)local_sin, in open_ipc()
108 (void) close(slpdfd); in open_ipc()
109 slpdfd = 0; in open_ipc()
113 (void) close(slpdfd); in open_ipc()
137 if (!slpdfd) { in close_ipc()
[all …]