centos man page for gethugepagesize

Query: gethugepagesize

OS: centos

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

GETHUGEPAGESIZE(3)					     Library Functions Manual						GETHUGEPAGESIZE(3)

NAME
gethugepagesize - Get the default huge page size
SYNOPSIS
#include <hugetlbfs.h> long gethugepagesize(void)
DESCRIPTION
The gethugepagesize() function returns the default huge page size used by libhugetlbfs. This will be either the system default, or a valid value set by the environment variable HUGETLB_DEFAULT_PAGE_SIZE. If the system does not support any huge page sizes an error is returned.
RETURN VALUE
On success, the default huge page size is returned. On failure, -1 is returned and errno is set appropriately.
ERRORS
ENOSYS The system does not support huge pages.
SEE ALSO
libhugetlbfs(7)
AUTHORS
libhugetlbfs was written by various people on the libhugetlbfs-devel mailing list. March 7, 2012 GETHUGEPAGESIZE(3)
Related Man Pages
ld.hugetlbfs(1) - centos
get_huge_pages(3) - centos
gethugepagesizes(3) - centos
getpagesizes(3) - centos
hugeedit(7) - centos
Similar Topics in the Unix Linux Community
DB2 convert digits to binary format
Shopt -s histappend
Unsure why access time on a directory change isn't changing
CentOS 6 ran out of space, need to reclaim it
[TIP] Processing YAML files with yq