| ... | @@ -2879,7 +2879,7 @@ pub fn bind(sock: socket_t, addr: *const sockaddr, len: socklen_t) BindError!voi | ... | @@ -2879,7 +2879,7 @@ pub fn bind(sock: socket_t, addr: *const sockaddr, len: socklen_t) BindError!voi |
| 2879 | unreachable; | 2879 | unreachable; |
| 2880 | } | 2880 | } |
| 2881 | | 2881 | |
| 2882 | const ListenError = error{ | 2882 | pub const ListenError = error{ |
| 2883 | /// Another socket is already listening on the same port. | 2883 | /// Another socket is already listening on the same port. |
| 2884 | /// For Internet domain sockets, the socket referred to by sockfd had not previously | 2884 | /// For Internet domain sockets, the socket referred to by sockfd had not previously |
| 2885 | /// been bound to an address and, upon attempting to bind it to an ephemeral port, it | 2885 | /// been bound to an address and, upon attempting to bind it to an ephemeral port, it |
| ... | @@ -5827,7 +5827,7 @@ pub fn tcsetattr(handle: fd_t, optional_action: TCSA, termios_p: termios) Termio | ... | @@ -5827,7 +5827,7 @@ pub fn tcsetattr(handle: fd_t, optional_action: TCSA, termios_p: termios) Termio |
| 5827 | } | 5827 | } |
| 5828 | } | 5828 | } |
| 5829 | | 5829 | |
| 5830 | const IoCtl_SIOCGIFINDEX_Error = error{ | 5830 | pub const IoCtl_SIOCGIFINDEX_Error = error{ |
| 5831 | FileSystem, | 5831 | FileSystem, |
| 5832 | InterfaceNotFound, | 5832 | InterfaceNotFound, |
| 5833 | } || UnexpectedError; | 5833 | } || UnexpectedError; |