pidfd_open (2) Linux Manual Page
NAME pidfd_open – obtain a file descriptor that refers to a process SYNOPSIS #include <sys/types.h> int pidfd_open(pid_t pid, unsigned int flags); DESCRIPTION The pidfd_open() system call creates a file descriptor that refers to the process whose PID is specified in pid. The file descriptor is returned as the function result; the close-on-exec flag is set…
