commit | a55f63083fb16b2595f517a3260083e5f8cddd02 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Jan 02 14:23:43 2013 -0800 |
committer | Elliott Hughes <enh@google.com> | Wed Jan 02 14:23:43 2013 -0800 |
tree | a21307c7a280a75b425eac764546fb1460e3eb76 | |
parent | f6524f8bda87f7d25dad7bed7091a93f3de58728 [diff] [blame] |
Define _POSIX_MONOTONIC_CLOCK and implement sysconf(_SC_MONOTONIC_CLOCK). Bug: http://code.google.com/p/android/issues/detail?id=39680 Change-Id: I11cf10a66f9d305868a725f04f581099fb88bbfc
diff --git a/libc/include/sys/sysconf.h b/libc/include/sys/sysconf.h index 2fc1b08..0a46e7a 100644 --- a/libc/include/sys/sysconf.h +++ b/libc/include/sys/sysconf.h
@@ -127,8 +127,9 @@ #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