Searched refs:sockpath (Results 1 – 3 of 3) sorted by relevance
118 static char *sockpath = NULL; variable540 sockpath = (char *) malloc(len);541 if (sockpath != NULL)542 (void) sm_strlcpy(sockpath, colon, len);604 removable = sockpath != NULL && in mi_closener()619 if (sockpath != NULL) in mi_closener()622 stat(sockpath, &fileinfo) == 0 && in mi_closener()635 (void) unlink(sockpath); in mi_closener()636 free(sockpath); in mi_closener()637 sockpath = NULL; in mi_closener()
250 char *sockpath; in main() local302 sockpath = strdup(sun.sun_path); in main()308 if (unlink(sockpath) && (errno != ENOENT)) in main()317 if (stat(sockpath, &st) < 0) in main()364 if (stat(sockpath, &st) < 0) in main()
72 common_setup(int socktype, const char* sockpath) { in common_setup() argument78 strlcpy(devd_addr.sun_path, sockpath, sizeof(devd_addr.sun_path)); in common_setup()