newlib-cygwin/winsup/cygwin/include
Yaakov Selkowitz b150f5236b Implement POSIX.1-2004 Monotonic Clock.
* hires.h: Change hires_us to hires_ns, with nanosecond resolution.
(hires_ns::primed_ft): Remove.
(hires_ns::nsecs): New prototype.
(hires_ns::usecs): Rewrite in terms of nsecs.
(hires_ns::resolution): New prototype.
* times.cc: Change hires_us to hires_ns.
(ntod): Declare.
(systime): Remove.
(hires_ns::prime): Increase resolution to nanoseconds.
(hires_ns::nsecs): Rename usecs to nsecs to reflect increased resolution.
Remove justdelta argument.
(hires_ns::resolution): New function.
(clock_gettime): Accept CLOCK_MONOTONIC.
Use EINVAL instead of ENOSYS per POSIX.1-2004.
(clock_getres): Ditto.
(clock_setres): Use EINVAL instead of ENOSYS to conform with other
implementations.
* strace.cc (strace::microseconds): Adjust for hires_ns.
* sysconf.cc (sca): Set _SC_MONOTONIC_CLOCK to _POSIX_MONOTONIC_CLOCK.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
2010-08-09 16:47:48 +00:00
..
arpa
asm * include/asm/byteorder.h (__ntohl): Prototype before define to avoid 2009-04-04 15:49:05 +00:00
attr
bits * include/bits/wordsize.h: New linux-compatibility header. 2008-12-31 04:12:44 +00:00
cygwin Implement POSIX.1-2004 Monotonic Clock. 2010-08-09 16:47:48 +00:00
machine
net
netinet
sys * include/sys/dirent.h (d_fileno): Define as d_ino. 2010-08-06 18:55:25 +00:00
a.out.h
byteswap.h
dlfcn.h * include/dlfcn.h (RTLD_LOCAL): Define. 2010-08-09 07:48:24 +00:00
elf.h
endian.h
err.h
exceptions.h
fcntl.h * include/fcntl.h (O_TTY_INIT): Define as 0. 2010-01-13 16:51:37 +00:00
features.h
fnmatch.h
fts.h Remove all traces of __CYGWIN_USE_BIG_TYPES__. 2010-02-26 09:36:21 +00:00
ftw.h Remove all traces of __CYGWIN_USE_BIG_TYPES__. 2010-02-26 09:36:21 +00:00
getopt.h
glob.h * glob_pattern_p.cc: New file. 2008-12-31 21:33:34 +00:00
icmp.h
ifaddrs.h
inttypes.h * include/inttypes.h: Change PTR definitions to int to align with the 2010-05-26 13:37:48 +00:00
io.h
lastlog.h
libgen.h
limits.h * include/limits.h (NGROUPS_MAX): Set to a more sane value. 2009-08-11 07:28:22 +00:00
mapi.h
memory.h
mntent.h * include/paths.h (_PATH_MNTTAB): Define. 2010-02-02 11:17:54 +00:00
monetary.h * Makefile.in (DLL_OFILES): Add nlsfunc.o and strfmon.o. 2010-01-22 22:31:31 +00:00
mqueue.h
netdb.h * include/netdb.h: #include <inttypes.h>, <netinet/in.h>, 2009-04-02 08:48:03 +00:00
paths.h * include/paths.h (_PATH_MNTTAB): Define. 2010-02-02 11:17:54 +00:00
poll.h
pthread.h
pty.h Make pty.h match recent glibc. 2009-12-26 06:20:56 +00:00
regex.h * include/regex.h: Include _ansi.h to avoid missing out on preprocessor 2010-04-27 15:18:14 +00:00
resolv.h * resolv.h: #include <netinet/in.h> for sockaddr_in typedef. 2008-12-09 16:09:46 +00:00
search.h
semaphore.h
stdint.h * include/stdint.h (intptr_t): Remove long from type. 2009-04-13 22:55:00 +00:00
strings.h
sysexits.h
syslog.h
termio.h
tzfile.h
utmpx.h
wait.h * include/wait.h: New file. 2008-04-24 08:46:41 +00:00