type t
=
|
Char
(** a terminal *)
Fifo
(** a pipe *)
File
(** a regular file *)
Socket of [ `Unconnected | `Bound | `Passive | `Active ]
val infer_using_stat : Core.Unix.File_descr.t ‑> t Import.Deferred.t