* @brief Closes an open socket. * * This system call is used to close a previously opened socket. Once the socket is closed, it is no longer * valid for any further operations, such as sending, receiving, or other socket-related functions. * * @param[in] socket The socket descriptor to be closed. This descriptor must be a valid socket that was * previously created with `s
| 6296 | * @see sys_socket(), sys_shutdown() |
| 6297 | */ |
| 6298 | sysret_t sys_closesocket(int socket) |
| 6299 | { |
| 6300 | return closesocket(socket); |
| 6301 | } |
| 6302 | |
| 6303 | #endif |
| 6304 |
nothing calls this directly
no test coverage detected