]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLib/BsdSocketLib/getpeername.c
StdLib: Move GetPass.c out of Uefi and into PosixLib. Create LibPosix to contain...
[mirror_edk2.git] / StdLib / BsdSocketLib / getpeername.c
index 850308a40146d1e1d692bd409629f300ef8fe2a0..5991099274461433d3fa21a7c15e71d20a054249 100644 (file)
@@ -18,7 +18,8 @@
 /**\r
   Get the remote address\r
 \r
-  The ::getpeername routine retrieves the remote system address from the socket.\r
+  The getpeername routine retrieves the remote system address from the socket.\r
+\r
   The\r
   <a href="http://pubs.opengroup.org/onlinepubs/9699919799/functions/getpeername.html#">POSIX</a>\r
   documentation is available online.\r
@@ -29,8 +30,8 @@
 \r
   @param [in] address_len Length of the remote network address structure\r
 \r
-  @returns    ::getpeername returns zero (0) if successful or -1 when an error occurs.\r
-              In the case of an error, errno contains more details.\r
+  @return     This routine returns zero (0) if successful or -1 when an error occurs.\r
+              In the case of an error, ::errno contains more details.\r
 \r
  **/\r
 int\r