Crate pidfd_getfd

Source

Structs§

GetFdFlags
Various flags used to configure calls to get_file_from_pidfd.

Traits§

PidFdExt
An extension trait to provide a convenient interface to get_file_from_pidfd.

Functions§

get_file_from_pidfd
Takes the file description referred to by target_fd within pidfd and creates a duplicate of it within this process.
pidfd_getfd
Takes the file description referred to by targetfd within pidfd and creates a duplicate of it within this process.