Skip to content

Commit 5f3406a

Browse files
committed
Updated comment
1 parent 725f5ef commit 5f3406a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/proto/fd/tiny_fd.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,8 @@ extern "C"
488488
* @param timeout timeout in milliseconds to wait until data are placed to outgoing queue
489489
*
490490
* @return Success result or error code
491+
* @note This function doesn't return number of bytes sent, but rather returns
492+
* TINY_SUCCESS in case of success, or error code in case of failure.
491493
*/
492494
extern int tiny_fd_send_packet(tiny_fd_handle_t handle, const void *buf, int len, uint32_t timeout);
493495

0 commit comments

Comments
 (0)