aboutsummaryrefslogtreecommitdiff
path: root/winsup/doc
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2011-05-09 08:57:46 +0000
committerYaakov Selkowitz <yselkowi@redhat.com>2011-05-09 08:57:46 +0000
commit6758d2a3aae6cc88a6c04fe8d3d6b9a1a0d664de (patch)
treeb181df08ba7cae759970ab628732a23e3ef618a8 /winsup/doc
parentb6a46e417b4f124a041e3820d041dc1917fdffb5 (diff)
downloadnewlib-6758d2a3aae6cc88a6c04fe8d3d6b9a1a0d664de.zip
newlib-6758d2a3aae6cc88a6c04fe8d3d6b9a1a0d664de.tar.gz
newlib-6758d2a3aae6cc88a6c04fe8d3d6b9a1a0d664de.tar.bz2
* times.cc (settimeofday): Add EFAULT handler.
Set errno to EINVAL if tv.tv_nsec is invalid, and to EPERM if SetSystemTime fails. Return -1 in case of failure, all for compatibility with BSD and Linux. (clock_settime): New function. * cygwin.din (clock_settime): Export. * posix.sgml (std-susv4): Add clock_settime. Move clock_setres from here... (std-deprec): ... to here. (std-notes): Correct limitation of clock_setres to only CLOCK_REALTIME. Add limitation of clock_settime to only CLOCK_REALTIME. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
Diffstat (limited to 'winsup/doc')
0 files changed, 0 insertions, 0 deletions