Commit Graph

4 Commits (c3f6cd7ff7d53a1b97651ad59d2c0c81f98751a8)

Author SHA1 Message Date
David Allsopp 435babd6f8 Declare primitives used by unix in io.h 2020-09-10 16:34:24 +01:00
Sébastien Hinderer d3e73595e5 Merge the asmrun and byterun directories into the runtime directory 2018-06-28 17:50:33 +02:00
David Allsopp 4197e75b6b GPR#1825 check-typo compliance 2018-06-14 15:15:34 +01:00
Xavier Leroy ea9dc4e555
Add checks to the conversion of Unix file descriptors to I/O channels (#1825)
Unix.{in,out}_channel_of_descr now check that descr has stream semantics.
These functions fail if the given file descriptor is not suitable for
character-oriented I/O, e.g. a block device or a datagram socket.
Fixes part of MPR#7238.
2018-06-14 10:56:25 +02:00