Function systemd::daemon::listen_fds [] [src]

pub fn listen_fds(unset_environment: bool) -> Result<Fd>

Returns how many file descriptors have been passed. Removes the $LISTEN_FDS and $LISTEN_PID file descriptors from the environment if unset_environment is true