Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/syscalls/recvmsg/
Drecvmsg01.c34 static char tmpsunpath[BUF_SIZE]; variable
269 (void)strcpy(tmpsunpath, "udsockXXXXXX"); in setup_all()
270 tfd = mkstemp(tmpsunpath); in setup_all()
272 SAFE_UNLINK(tmpsunpath); in setup_all()
273 (void)strcpy(sun1.sun_path, tmpsunpath); in setup_all()
285 if (tmpsunpath[0] != '\0') in cleanup_all()
286 (void)SAFE_UNLINK(tmpsunpath); in cleanup_all()
/third_party/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()