blob: 7885fc13ba4c8a044df2c9eac1561fa1484fb594 [file] [log] [blame]
#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);
}