X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=StdLib%2FBsdSocketLib%2Fsend.c;h=0bbed5ac33dfb40184aa731ef8b6b701ab5c12f0;hp=f3f739cb6f41d8eebf7fd35f03a5dec5d087c658;hb=7dc1329100c370992cdd430359512443bd1ee9f2;hpb=59d13433e7cbc810a6268d38141b0d1db353fa6e diff --git a/StdLib/BsdSocketLib/send.c b/StdLib/BsdSocketLib/send.c index f3f739cb6f..0bbed5ac33 100644 --- a/StdLib/BsdSocketLib/send.c +++ b/StdLib/BsdSocketLib/send.c @@ -26,12 +26,12 @@ @param [in] s Socket file descriptor returned from ::socket. @param [in] buffer Address of a buffer containing the data to send. - + @param [in] length Length of the buffer in bytes. @param [in] flags Message control flags - @returns ::send returns the number of data bytes that were + @return ::send returns the number of data bytes that were sent and -1 when an error occurs. In the case of an error, errno contains more details.