wut/libraries/wutsocket/wut_socket_close.c

12 lines
213 B
C
Raw Normal View History

2021-03-07 13:09:12 +01:00
#include "wut_socket.h"
int
__wut_socket_close(struct _reent *r,
void *fd)
{
int sockfd = *(int *)fd;
int rc = RPLWRAP(socketclose)(sockfd);
return __wut_get_nsysnet_result(r, rc);
}