gethugepagesize(3) centos man page | unix.com

Man Page: gethugepagesize

Operating Environment: centos

Section: 3

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
hugectl(8) - centos
free_hugepage_region(3) - centos
get_huge_pages(3) - centos
hugeedit(7) - centos
Similar Topics in the Unix Linux Community
Set hard block limit for user using quota
Best performance UNIX just for HOST Virtualization?
DB2 convert digits to binary format
CentOS7 restoring file capabilities
Controlling user input