_SC_PAGESIZE sysconf() support

This commit is contained in:
Ben Gras
2006-03-23 11:05:15 +00:00
parent e28fe339bf
commit 0bcb14b384
2 changed files with 5 additions and 0 deletions

View File

@@ -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;