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
pagesize(1) - centos
get_huge_pages(3) - centos
hugetlbfs_find_path(3) - centos
hugetlbfs_unlinked_fd(3) - centos
hugetlbfs_unlinked_fd_for_size(3) - centos
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Weird 'find' results
Best performance UNIX just for HOST Virtualization?
DB2 convert digits to binary format
Docker learning Phase-I