package lsp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type lock_type =
  1. | Read
  2. | Write
type whence =
  1. | Set
  2. | Cur
  3. | End
val lock : ?whence:whence -> ?start:int -> ?len:int -> Unix.file_descr -> lock_type -> unit
val lock_try : ?whence:whence -> ?start:int -> ?len:int -> Unix.file_descr -> lock_type -> bool
val lock_get : ?whence:whence -> ?start:int -> ?len:int -> Unix.file_descr -> lock_type -> (lock_type * int) option
val unlock : ?whence:whence -> ?start:int -> ?len:int -> Unix.file_descr -> unit
OCaml

Innovation. Community. Security.