Add _SC_PAGE_SIZE sysconf().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24850 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -59,6 +59,8 @@
|
||||
#define _SC_VERSION 24
|
||||
#define _SC_GETGR_R_SIZE_MAX 25
|
||||
#define _SC_GETPW_R_SIZE_MAX 26
|
||||
#define _SC_PAGE_SIZE 27
|
||||
#define _SC_PAGESIZE _SC_PAGE_SIZE
|
||||
|
||||
/* lseek() constants */
|
||||
#ifndef SEEK_SET
|
||||
|
||||
@@ -58,6 +58,8 @@ sysconf(int name)
|
||||
return MAX_GROUP_BUFFER_SIZE;
|
||||
case _SC_GETPW_R_SIZE_MAX:
|
||||
return MAX_PASSWD_BUFFER_SIZE;
|
||||
case _SC_PAGE_SIZE:
|
||||
return B_PAGE_SIZE;
|
||||
}
|
||||
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user