Skip to main content

fd_name_matches

Function fd_name_matches 

Source
pub fn fd_name_matches(fd_index: usize, expected_name: &str) -> bool
Expand description

Check if a specific fd name matches

When multiple sockets are passed, LISTEN_FDNAMES contains colon-separated names. This checks if a given fd index matches the expected name.