• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include <sys/socket.h>
2 #include "syscall.h"
3 
getsockname(int fd,struct sockaddr * restrict addr,socklen_t * restrict len)4 int getsockname(int fd, struct sockaddr *restrict addr, socklen_t *restrict len)
5 {
6 	return socketcall(getsockname, fd, addr, len, 0, 0, 0);
7 }
8