]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLib/BsdSocketLib/close.c
Update the sockets library code
[mirror_edk2.git] / StdLib / BsdSocketLib / close.c
index 2a9fda4930da4b65a239d4240de2a7cfc14c2aac..3dfeb2bf1895b05e86124f1dd34e216433b2def1 100644 (file)
@@ -20,7 +20,7 @@
 \r
   @param[in] pSocketProtocol   Socket protocol structure address\r
 \r
-  @param[in] pErrno            Address of the errno variable\r
+  @param[in] pErrno            Address of the ::errno variable\r
 \r
   @retval EFI_SUCCESS   Successfully closed the socket\r
 \r
@@ -83,10 +83,14 @@ BslSocketCloseWork (
 /**\r
   Close the socket\r
 \r
+  The BslSocketClose routine is called indirectly from the close file\r
+  system routine.  This routine closes the socket and returns the\r
+  status to the caller.\r
+\r
   @param[in] pDescriptor Descriptor address for the file\r
 \r
   @return   This routine returns 0 upon success and -1 upon failure.\r
-            In the case of failure, errno contains more information.\r
+            In the case of failure, ::errno contains more information.\r
 \r
 **/\r
 int\r