Define __getpeername.
This commit is contained in:
parent
21be1647f1
commit
ebe30a97c9
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2000 Free Software Foundation, Inc.
|
/* Copyright (C) 2000, 2001 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -25,3 +25,4 @@ getpeername (int fd, __SOCKADDR_ARG addr, socklen_t *len)
|
|||||||
{
|
{
|
||||||
return ngetpeername (fd, addr.__sockaddr__, len);
|
return ngetpeername (fd, addr.__sockaddr__, len);
|
||||||
}
|
}
|
||||||
|
weak_alias (getpeername,__getpeername)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user