1HUGETLBFS_FIND_PATH(3) Library Functions Manual HUGETLBFS_FIND_PATH(3)
2
3
4
6 hugetlbfs_find_path, hugetlbfs_find_path_for_size - Locate an appropriā
7 ate hugetlbfs mount point
8
10 #include <hugetlbfs.h>
11
12 const char *hugetlbfs_find_path(void);
13 const char *hugetlbfs_find_path_for_size(long page_size);
14
15
17 These functions return a pathname for a mounted hugetlbfs filesystem
18 for the appropriate huge page size. For hugetlbfs_find_path, the
19 default huge page size is used (see gethugepagesize(3)). For
20 hugetlbfs_find_path_for_size, a valid huge page size must be specified
21 (see gethugepagesizes(3)).
22
23
25 On success, a non-NULL value is returned. On failure, NULL is
26 returned.
27
28
30 libhugetlbfs(7), gethugepagesize(3), gethugepagesizes(3)
31
32
34 libhugetlbfs was written by various people on the libhugetlbfs-devel
35 mailing list.
36
37
38
39 March 7, 2012 HUGETLBFS_FIND_PATH(3)