From a88c31639bb24c73383a4528a5b77066e805148b Mon Sep 17 00:00:00 2001 From: lpleahy Date: Fri, 30 Sep 2011 23:02:35 +0000 Subject: Update the sockets library code * Passes conformance and functional tests. * Builds with GCC 4.4 compiler. Signed-off by: lpleahy git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12497 6f19259b-4bc3-4df7-8a09-765794883524 --- StdLib/BsdSocketLib/getpeername.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'StdLib/BsdSocketLib/getpeername.c') diff --git a/StdLib/BsdSocketLib/getpeername.c b/StdLib/BsdSocketLib/getpeername.c index 37e6d1eab6..5991099274 100644 --- a/StdLib/BsdSocketLib/getpeername.c +++ b/StdLib/BsdSocketLib/getpeername.c @@ -18,7 +18,8 @@ /** Get the remote address - The ::getpeername routine retrieves the remote system address from the socket. + The getpeername routine retrieves the remote system address from the socket. + The POSIX documentation is available online. @@ -29,8 +30,8 @@ @param [in] address_len Length of the remote network address structure - @return ::getpeername returns zero (0) if successful or -1 when an error occurs. - In the case of an error, errno contains more details. + @return This routine returns zero (0) if successful or -1 when an error occurs. + In the case of an error, ::errno contains more details. **/ int -- cgit v1.2.3