Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/recvmsg/
Drecvmsg01.c249 char tmpsunpath[1024]; variable
257 (void)strcpy(tmpsunpath, "udsockXXXXXX"); in setup()
258 tfd = mkstemp(tmpsunpath); in setup()
260 unlink(tmpsunpath); in setup()
262 (void)strcpy(sun1.sun_path, tmpsunpath); in setup()
273 if (tmpsunpath[0] != '\0') in cleanup()
274 (void)unlink(tmpsunpath); in cleanup()
/external/ltp/testcases/kernel/syscalls/sendmsg/
Dsendmsg01.c534 static char tmpsunpath[1024]; variable
547 snprintf(tmpsunpath, 1024, "udsock%ld", (long)time(NULL)); in setup()
549 strcpy(sun1.sun_path, tmpsunpath); in setup()
572 unlink(tmpsunpath); in cleanup()