Function esp_idf_sys::tcgetsid

source ·
pub unsafe extern "C" fn tcgetsid(fd: c_int) -> pid_t
Expand description

@brief Get process group ID for session leader for controlling terminal

@param fd file descriptor of the terminal @return process group ID when successful, -1 otherwise with errno set