Git Product home page Git Product logo

ocaml-unix-fcntl's Introduction

ocaml-unix-fcntl

ocaml-unix-fcntl provides access to the features exposed in fcntl.h in a way that is not tied to the implementation on the host system.

The Fcntl module provides functions for translating between the names of the flags exposed in fcntl.h and their values on particular systems. The Fcntl_host module exports representations of various hosts.

The Fcntl_unix provides bindings to functions that use the flags in Fcntl along with a representation of the host system. The bindings support a more comprehensive range of flags than the corresponding functions in the standard OCaml Unix module. The Fcntl_unix_lwt module exports non-blocking versions of the functions in Fcntl_unix based on the Lwt cooperative threading library.

Currently open flags and the open(2) function are bound.

ocaml-unix-fcntl's People

Contributors

dsheets avatar samoht avatar yallop avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ocaml-unix-fcntl's Issues

Fcntl.Oflag.to_code_exn missing

Fcntl.Oflag.to_code raises Not_found when the flags aren't expressible on a given host. Why doesn't the module have both to_code and to_code_exn?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.