Back to Darwin Xnu

Host Page Size

osfmk/man/host_page_size.html

latest599 B
Original Source

host_page_size


Function - Provide the system's virtual page size.

SYNOPSIS

**kern\_return\_t host\_page\_size**** (host\_t **host,** vm\_size\_t **page\_size** );**

PARAMETERS

host[in host-name send right] The name (or control) port for the host for which the page size is desired.

page_size[out scalar] The host's page size (in bytes).

DESCRIPTION

The host_page_size function returns the page size for the given host.

RETURN VALUES

Only generic errors apply.

Functions: mach_host_self.