Stdio provides input/output functions for OCaml. It re-exports the buffered channels of the stdlib distributed with OCaml but with some improvements.
The full API is browsable here.