Home
last modified time | relevance | path

Searched refs:statusfd (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/samples/pidfd/
H A Dpidfd-metadata.c89 int procfd, statusfd; in main() local
105 statusfd = openat(procfd, "status", O_RDONLY | O_CLOEXEC); in main()
107 if (statusfd < 0) in main()
110 bytes = read(statusfd, buf, sizeof(buf)); in main()
113 close(statusfd); in main()
/kernel/linux/linux-6.6/samples/pidfd/
H A Dpidfd-metadata.c89 int procfd, statusfd; in main() local
105 statusfd = openat(procfd, "status", O_RDONLY | O_CLOEXEC); in main()
107 if (statusfd < 0) in main()
110 bytes = read(statusfd, buf, sizeof(buf)); in main()
113 close(statusfd); in main()

Completed in 2 milliseconds