musl-tcc/src/network/getsockname.c

8 lines
188 B
C
Raw Normal View History

2022-03-20 04:48:53 -04:00
#include <sys/socket.h>
#include "syscall.h"
int getsockname(int fd, struct sockaddr *restrict addr, socklen_t *restrict len)
{
return socketcall(getsockname, fd, addr, len, 0, 0, 0);
}