Module Fd.KindSource

Sourcetype t =
  1. | Char
    (*

    a terminal

    *)
  2. | Fifo
    (*

    a pipe

    *)
  3. | File
    (*

    a regular file

    *)
  4. | Socket of [ `Unconnected | `Bound | `Passive | `Active | `Unknown ]
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
Sourceval infer_using_stat : Async_unix__.Import.Unix.File_descr.t -> t Async_kernel.Deferred.t