Changed return type of listen_fds to match other fd-related functions