]> sourceware.org Git - newlib-cygwin.git/commit
* times.cc (settimeofday): Add EFAULT handler.
authorYaakov Selkowitz <yselkowi@redhat.com>
Mon, 9 May 2011 08:57:46 +0000 (08:57 +0000)
committerYaakov Selkowitz <yselkowi@redhat.com>
Mon, 9 May 2011 08:57:46 +0000 (08:57 +0000)
commit6758d2a3aae6cc88a6c04fe8d3d6b9a1a0d664de
treeb181df08ba7cae759970ab628732a23e3ef618a8
parentb6a46e417b4f124a041e3820d041dc1917fdffb5
* 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.
winsup/cygwin/ChangeLog
winsup/cygwin/cygwin.din
winsup/cygwin/include/cygwin/version.h
winsup/cygwin/posix.sgml
winsup/cygwin/times.cc
This page took 0.079836 seconds and 5 git commands to generate.