mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-05 03:24:17 +01:00
14 lines
299 B
C
14 lines
299 B
C
#include "wut_socket.h"
|
|
|
|
ssize_t
|
|
__wut_socket_write(struct _reent *r,
|
|
void *fd,
|
|
const char *ptr,
|
|
size_t len)
|
|
{
|
|
int sockfd = *(int *)fd;
|
|
int rc = RPLWRAP(send)(sockfd, ptr, len, 0);
|
|
return (ssize_t)__wut_get_nsysnet_result(r, rc);
|
|
}
|
|
|