Searched refs:fd (Results 1 – 6 of 6) sorted by relevance
/nptl/ |
A D | pthread_setname.c | 49 int fd = __open64_nocancel (fname, O_RDWR); in __pthread_setname_np() local 50 if (fd == -1) in __pthread_setname_np() 54 ssize_t n = TEMP_FAILURE_RETRY (__write_nocancel (fd, name, name_len)); in __pthread_setname_np() 60 __close_nocancel_nostatus (fd); in __pthread_setname_np()
|
A D | pthread_getname.c | 47 int fd = __open64_nocancel (fname, O_RDONLY); in __pthread_getname_np() local 48 if (fd == -1) in __pthread_getname_np() 52 ssize_t n = TEMP_FAILURE_RETRY (__read_nocancel (fd, buf, len)); in __pthread_getname_np() 65 __close_nocancel_nostatus (fd); in __pthread_getname_np()
|
A D | tst-cancel7.c | 104 int fd = create_temp_file ("tst-cancel7-pid-", &pidfilename); in do_prepare() local 105 if (fd == -1) in do_prepare() 108 xwrite (fd, " ", 1); in do_prepare() 109 xclose (fd); in do_prepare()
|
A D | tst-setgetname.c | 55 int fd = open (fname, O_RDONLY); in get_self_comm() local 56 if (fd == -1) in get_self_comm() 59 ssize_t n = read (fd, (void *) buf, len); in get_self_comm() 72 close (fd); in get_self_comm()
|
A D | tst-pthread-gdb-attach.c | 62 int fd = xopen (path, O_RDONLY, 0); in read_elf_header() local 63 bool result = read (fd, elf, sizeof (*elf)) == sizeof (*elf); in read_elf_header() 64 xclose (fd); in read_elf_header()
|
A D | perf.c | 628 int fd; in get_clockfreq() local 634 fd = open ("/proc/cpuinfo", O_RDONLY); in get_clockfreq() 635 if (__glibc_likely (fd != -1)) in get_clockfreq() 642 n = read (fd, buf, sizeof buf); in get_clockfreq() 678 close (fd); in get_clockfreq()
|
Completed in 8 milliseconds