summaryrefslogtreecommitdiffstats
path: root/newlib/libc/unix/pwrite.c
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 /newlib/libc/unix/pwrite.c
parentb6a46e417b4f124a041e3820d041dc1917fdffb5 (diff)
downloadcygnal-6758d2a3aae6cc88a6c04fe8d3d6b9a1a0d664de.tar.gz
cygnal-6758d2a3aae6cc88a6c04fe8d3d6b9a1a0d664de.tar.bz2
cygnal-6758d2a3aae6cc88a6c04fe8d3d6b9a1a0d664de.zip
* 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 'newlib/libc/unix/pwrite.c')
0 files changed, 0 insertions, 0 deletions