X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=StdLib%2FBsdSocketLib%2Fgetpeername.c;h=5991099274461433d3fa21a7c15e71d20a054249;hb=364eed8479a34274de4b1f7d61ce65c7571ff55c;hp=850308a40146d1e1d692bd409629f300ef8fe2a0;hpb=d7ce700605e1af0e455e31ec11f19ff21d26b525;p=mirror_edk2.git diff --git a/StdLib/BsdSocketLib/getpeername.c b/StdLib/BsdSocketLib/getpeername.c index 850308a401..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 - @returns ::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