Home
last modified time | relevance | path

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

/third_party/musl/libc-test/src/functionalext/supplement/unistd/
Dsymlinkat.c33 char *symlink_name = "mysymlinkat"; in symlinkat_0100() local
55 if (symlinkat(file_name, fdd, symlink_name) < 0) { in symlinkat_0100()
61 sz = readlinkat(fdd, symlink_name, buffer, sizeof(buffer)); in symlinkat_0100()
71 unlinkat(fdd, symlink_name, 0); in symlinkat_0100()
85 char *symlink_name = "mysymlinkat"; in symlinkat_0200() local
102 if (symlinkat(file_name, fd, symlink_name) < 0) { in symlinkat_0200()
107 unlinkat(fd, symlink_name, 0); in symlinkat_0200()
/third_party/toybox/toys/pending/
Dmdev.c247 char *symlink_name = malloc(sizeof("/dev/") + strlen(device_name) + 1); in make_device() local
248 if(symlink_name == NULL) in make_device()
250 sprintf(symlink_name, "/dev/%s", device_name); in make_device()
251 if(symlink(toybuf, symlink_name)){ in make_device()
252 free(symlink_name); in make_device()
255 free(symlink_name); in make_device()