search for: d425df8

Displaying 1 result from an estimated 1 matches for "d425df8".

Did you mean: d12edf8
2013 May 13
0
[klibc:sysconf] Framework and trivial implementation of sysconf(3)
...ch (__val) { + case _SC_PAGESIZE: + return getpagesize(); + default: + errno = EINVAL; + return -1; + } +} + +#define sysconf(x) \ + (__builtin_constant_p(x) ? __sysconf_inline(x) : sysconf(x)) + +#endif /* _SYS_SYSCONF_H */ diff --git a/usr/include/unistd.h b/usr/include/unistd.h index f0e19c2..d425df8 100644 --- a/usr/include/unistd.h +++ b/usr/include/unistd.h @@ -144,13 +144,13 @@ __extern int optind, opterr, optopt; __extern int isatty(int); __extern unsigned int __page_size; -static __inline__ int getpagesize(void) +__must_inline int getpagesize(void) { return __page_size; } __ext...