Lines Matching refs:sockpath
114 ** sets sockpath if UNIX socket.
118 static char *sockpath = NULL;
536 ** Set global variable sockpath so the UNIX socket can be
540 sockpath = (char *) malloc(len);
541 if (sockpath != NULL)
542 (void) sm_strlcpy(sockpath, colon, len);
546 "%s: can't malloc(%d) for sockpath: %s",
604 removable = sockpath != NULL &&
619 if (sockpath != NULL)
622 stat(sockpath, &fileinfo) == 0 &&
635 (void) unlink(sockpath);
636 free(sockpath);
637 sockpath = NULL;