HomeFreeBSD

getpagesize(3) cannot fail.

Description

getpagesize(3) cannot fail.

The sysctl(HW_PAGESIZE) call cannot fail on FreeBSD kernels at least.
And even if it failed for some improbable reason, PAGE_SIZE is a safe
value to return.

Discussed with: jilles
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
kibAuthored on
Parents
rS317435: When a SYN-ACK is received in SYN-SENT state, RFC 793 requires the
Branches
Unknown
Tags
Unknown