extunix
extunix copied to clipboard
no fcntl in there?
there is one in unix-fcntl (available in opam). However, I was hoping to find it in extunix too. :( Also:
# opam install unix-fcntl
The following dependencies couldn't be met:
- unix-fcntl → ocaml < 4.05.0
base of this switch (use `--unlock-base' to force)
No solution found, exiting
I'd like to make a FIFO bigger. I need to call fcntl for that. It's not in the stdlib's Unix module also. :(
Maybe you can find some code in there: https://github.com/dsheets/ocaml-unix-fcntl
there is one in there: https://github.com/janestreet/core/blob/d371128a22c176a4dabb2d2adc9fd9f5595037f1/src/unix_stubs.c