_SC_PAGESIZE sysconf() support
This commit is contained in:
@@ -45,6 +45,9 @@ int name; /* property being inspected */
|
||||
case _SC_TZNAME_MAX:
|
||||
return (long) TZNAME_MAX;
|
||||
|
||||
case _SC_PAGESIZE:
|
||||
return getpagesize();
|
||||
|
||||
default:
|
||||
errno = EINVAL;
|
||||
return -1L;
|
||||
|
||||
Reference in New Issue
Block a user