HomeFreeBSD

recv.2: Explain how recv functions can return 0

Description

recv.2: Explain how recv functions can return 0

Clarify the RETURN VALUES section with improved structure,
the condition of the return value 0, and the setting of errno.

PR: 174581
Reviewed by: jhb, ziaee
Approved by: mhorne (mentor)
Differential Revision: https://reviews.freebsd.org/D48955

Details

Provenance
felix.the.red_gmail.comAuthored on Feb 13 2025, 3:40 AM
ziaeeCommitted on Feb 13 2025, 3:54 AM
Reviewer
jhb
Differential Revision
D48955: PR174581: Clarify recv functions can return 0 if no messages are waiting and the peer has closed the connection.
Parents
rG6156da866e7d: cc_cubic: remove redundant calls of tcp_fixed_maxseg()
Branches
Unknown
Tags
Unknown