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:
François Revol
2008-04-07 01:08:18 +00:00
parent bd31302c3c
commit 038ed3d1f2
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -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
+2
View File
@@ -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;