gethugepagesize man page on RedHat

Man page or keyword search:  
man Server   29550 pages
apropos Keyword Search (all sections)
Output format
RedHat logo
[printable version]

GETHUGEPAGESIZE(3)					    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)
[top]

List of man pages available for RedHat

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net