Sync sys/limits.h and sys/sysconf.h
See http://code.google.com/p/android/issues/detail?id=39680 and a55f63083fb16b2595f517a3260083e5f8cddd02 Change-Id: I2d1548814eb771c26b540f5fee57dabf54fcfdd6
This commit is contained in:
@@ -169,7 +169,8 @@
|
||||
|
||||
#undef _POSIX_PROCESS_SHARED /* we don't support process-shared synchronization */
|
||||
#undef _POSIX_THREAD_SAFE_FUNCTIONS /* most functions are, but not everything yet */
|
||||
#define _POSIX_CHOWN_RESTRICTED 1 /* yes, chown requires appropriate priviledges */
|
||||
#define _POSIX_CHOWN_RESTRICTED 1 /* yes, chown requires appropriate privileges */
|
||||
#define _POSIX_MONOTONIC_CLOCK 0 /* the monotonic clock may be available; ask sysconf */
|
||||
#define _POSIX_NO_TRUNC 1 /* very long pathnames generate an error */
|
||||
#define _POSIX_SAVED_IDS 1 /* saved user ids is a Linux feature */
|
||||
#define _POSIX_JOB_CONTROL 1 /* job control is a Linux feature */
|
||||
|
||||
@@ -127,8 +127,9 @@ __BEGIN_DECLS
|
||||
#define _SC_NPROCESSORS_ONLN 0x0061
|
||||
#define _SC_PHYS_PAGES 0x0062
|
||||
#define _SC_AVPHYS_PAGES 0x0063
|
||||
#define _SC_MONOTONIC_CLOCK 0x0064
|
||||
|
||||
extern int sysconf (int name);
|
||||
extern int sysconf(int name);
|
||||
|
||||
__END_DECLS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user