extunix icon indicating copy to clipboard operation
extunix copied to clipboard

no fcntl in there?

Open UnixJunkie opened this issue 6 years ago • 3 comments

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

UnixJunkie avatar May 16 '19 05:05 UnixJunkie

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. :(

UnixJunkie avatar May 16 '19 05:05 UnixJunkie

Maybe you can find some code in there: https://github.com/dsheets/ocaml-unix-fcntl

UnixJunkie avatar May 16 '19 05:05 UnixJunkie

there is one in there: https://github.com/janestreet/core/blob/d371128a22c176a4dabb2d2adc9fd9f5595037f1/src/unix_stubs.c

UnixJunkie avatar May 16 '19 06:05 UnixJunkie