ocaml/otherlibs/unix
Xavier Leroy 50648ed2b7 PR#4023 and GPR#68: add Unix.sleepf and improve Unix.sleep
Unix.sleepf provides sleep with sub-second resolution.
Unix.sleep is implemented on top of Unix.sleepf.
If a handled signal causes the sleep to return early with an EINTR
error, catch it and restart the sleep for the remaining time.
2015-11-15 15:34:45 +01:00
..
.depend make alldepend 2015-08-15 15:57:59 +00:00
Makefile merge branch 4.02 from 4.02.1 (rev 15540) to a few fixes after 4.02.2 (rev 16205) 2015-07-17 14:31:05 +00:00
accept.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
access.c PR#6945 and GPR#227: protect Sys and Unix functions against string arguments containing the null character '\000' 2015-11-11 17:07:44 +01:00
addrofstr.c PR#6945 and GPR#227: protect Sys and Unix functions against string arguments containing the null character '\000' 2015-11-15 15:13:30 +01:00
alarm.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
bind.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
chdir.c PR#6945 and GPR#227: protect Sys and Unix functions against string arguments containing the null character '\000' 2015-11-11 17:07:44 +01:00
chmod.c PR#6945 and GPR#227: protect Sys and Unix functions against string arguments containing the null character '\000' 2015-11-11 17:07:44 +01:00
chown.c PR#6945 and GPR#227: protect Sys and Unix functions against string arguments containing the null character '\000' 2015-11-11 17:07:44 +01:00
chroot.c PR#6945 and GPR#227: protect Sys and Unix functions against string arguments containing the null character '\000' 2015-11-11 17:07:44 +01:00
close.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
closedir.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
connect.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
cst2constr.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
cst2constr.h remove all $Id keywords 2012-10-15 17:50:56 +00:00
cstringv.c PR#6945 and GPR#227: protect Sys and Unix functions against string arguments containing the null character '\000' 2015-11-13 14:49:50 +01:00
dup.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
dup2.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
envir.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
errmsg.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
execv.c PR#6945 and GPR#227: protect Sys and Unix functions against string arguments containing the null character '\000' 2015-11-13 14:49:50 +01:00
execve.c PR#6945 and GPR#227: protect Sys and Unix functions against string arguments containing the null character '\000' 2015-11-13 14:49:50 +01:00
execvp.c PR#6945 and GPR#227: protect Sys and Unix functions against string arguments containing the null character '\000' 2015-11-13 14:49:50 +01:00
exit.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
fchmod.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
fchown.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
fcntl.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
fork.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
ftruncate.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
getaddrinfo.c PR#6945 and GPR#227: protect Sys and Unix functions against string arguments containing the null character '\000' 2015-11-11 17:07:44 +01:00
getcwd.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
getegid.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
geteuid.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
getgid.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
getgr.c PR#6945 and GPR#227: protect Sys and Unix functions against string arguments containing the null character '\000' 2015-11-15 15:13:30 +01:00
getgroups.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
gethost.c PR#6945 and GPR#227: protect Sys and Unix functions against string arguments containing the null character '\000' 2015-11-11 17:07:44 +01:00
gethostname.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
getlogin.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
getnameinfo.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
getpeername.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
getpid.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
getppid.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
getproto.c PR#6945 and GPR#227: protect Sys and Unix functions against string arguments containing the null character '\000' 2015-11-11 17:07:44 +01:00
getpw.c PR#6945 and GPR#227: protect Sys and Unix functions against string arguments containing the null character '\000' 2015-11-15 15:13:30 +01:00
getserv.c PR#6945 and GPR#227: protect Sys and Unix functions against string arguments containing the null character '\000' 2015-11-11 17:07:44 +01:00
getsockname.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
gettimeofday.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
getuid.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
gmtime.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
initgroups.c PR#6945 and GPR#227: protect Sys and Unix functions against string arguments containing the null character '\000' 2015-11-15 15:13:30 +01:00
isatty.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
itimer.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
kill.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
libunix.clib synchronisation with Makefile 2010-01-11 14:27:59 +00:00
link.c PR#6945 and GPR#227: protect Sys and Unix functions against string arguments containing the null character '\000' 2015-11-11 17:07:44 +01:00
listen.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
lockf.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
lseek.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
mkdir.c PR#6945 and GPR#227: protect Sys and Unix functions against string arguments containing the null character '\000' 2015-11-11 17:07:44 +01:00
mkfifo.c PR#6945 and GPR#227: protect Sys and Unix functions against string arguments containing the null character '\000' 2015-11-11 17:07:44 +01:00
nanosecond_stat.h use the official name of Jane Street in headers 2015-04-07 18:48:35 +00:00
nice.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
open.c PR#6945 and GPR#227: protect Sys and Unix functions against string arguments containing the null character '\000' 2015-11-11 17:07:44 +01:00
opendir.c PR#6945 and GPR#227: protect Sys and Unix functions against string arguments containing the null character '\000' 2015-11-11 17:07:44 +01:00
pipe.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
putenv.c PR#6945 and GPR#227: protect Sys and Unix functions against string arguments containing the null character '\000' 2015-11-11 17:07:44 +01:00
read.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
readdir.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
readlink.c PR#6945 and GPR#227: protect Sys and Unix functions against string arguments containing the null character '\000' 2015-11-15 15:13:30 +01:00
rename.c PR#6945 and GPR#227: protect Sys and Unix functions against string arguments containing the null character '\000' 2015-11-11 17:07:44 +01:00
rewinddir.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
rmdir.c PR#6945 and GPR#227: protect Sys and Unix functions against string arguments containing the null character '\000' 2015-11-11 17:07:44 +01:00
select.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
sendrecv.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
setgid.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
setgroups.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
setsid.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
setuid.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
shutdown.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
signals.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
sleep.c PR#4023 and GPR#68: add Unix.sleepf and improve Unix.sleep 2015-11-15 15:34:45 +01:00
socket.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
socketaddr.c PR#6945 and GPR#227: protect Sys and Unix functions against string arguments containing the null character '\000' 2015-11-11 17:07:44 +01:00
socketaddr.h merge branch 4.02 from 4.02.1 (rev 15540) to a few fixes after 4.02.2 (rev 16205) 2015-07-17 14:31:05 +00:00
socketpair.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
sockopt.c GPR#143: fix getsockopt behaviour for boolean socket options 2015-02-10 22:48:16 +00:00
stat.c PR#6945 and GPR#227: protect Sys and Unix functions against string arguments containing the null character '\000' 2015-11-11 17:07:44 +01:00
strofaddr.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
symlink.c PR#6945 and GPR#227: protect Sys and Unix functions against string arguments containing the null character '\000' 2015-11-11 17:07:44 +01:00
termios.c merge branch 4.02 from 4.02.1 (rev 15540) to a few fixes after 4.02.2 (rev 16205) 2015-07-17 14:31:05 +00:00
time.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
times.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
truncate.c PR#6945 and GPR#227: protect Sys and Unix functions against string arguments containing the null character '\000' 2015-11-11 17:07:44 +01:00
umask.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
unix.ml PR#4023 and GPR#68: add Unix.sleepf and improve Unix.sleep 2015-11-15 15:34:45 +01:00
unix.mli PR#4023 and GPR#68: add Unix.sleepf and improve Unix.sleep 2015-11-15 15:34:45 +01:00
unix.mllib Add many .mllib .mlpack .clib .dlib files 2007-02-07 09:52:28 +00:00
unixLabels.ml remove all $Id keywords 2012-10-15 17:50:56 +00:00
unixLabels.mli merge branch "safe-string" 2014-04-29 11:56:17 +00:00
unixsupport.c PR#6945 and GPR#227: protect Sys and Unix functions against string arguments containing the null character '\000' 2015-11-11 17:07:44 +01:00
unixsupport.h PR#6945 and GPR#227: protect Sys and Unix functions against string arguments containing the null character '\000' 2015-11-13 14:49:50 +01:00
unlink.c PR#6945 and GPR#227: protect Sys and Unix functions against string arguments containing the null character '\000' 2015-11-11 17:07:44 +01:00
utimes.c PR#6945 and GPR#227: protect Sys and Unix functions against string arguments containing the null character '\000' 2015-11-15 15:13:30 +01:00
wait.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00
write.c PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes 2014-12-27 14:41:49 +00:00