package posixat

  1. Overview
  2. Docs

Bindings for the *at family of POSIX functions

module Fd : sig ... end
module Open_flag : sig ... end
module At_flag : sig ... end
module Access_permission : sig ... end
module File_kind : sig ... end
module File_perm : sig ... end
module Stats : sig ... end
val at_fdcwd : Base.unit -> Fd.t
val openat : dir:Fd.t -> path:Base.string -> flags:Open_flag.t Base.list -> perm:File_perm.t -> Fd.t
val faccessat : dir:Fd.t -> path:Base.string -> mode:Access_permission.t Base.list -> flags:At_flag.t Base.list -> Base.unit
val fchmodat : dir:Fd.t -> path:Base.string -> perm:File_perm.t -> flags:At_flag.t Base.list -> Base.unit
val fchownat : dir:Fd.t -> path:Base.string -> uid:Base.int -> gid:Base.int -> flags:At_flag.t Base.list -> Base.unit
val mkdirat : dir:Fd.t -> path:Base.string -> perm:File_perm.t -> Base.unit
val unlinkat : dir:Fd.t -> path:Base.string -> flags:At_flag.t Base.list -> Base.unit
val mkfifoat : dir:Fd.t -> path:Base.string -> perm:File_perm.t -> Base.unit
val linkat : olddir:Fd.t -> oldpath:Base.string -> newdir:Fd.t -> newpath:Base.string -> flags:At_flag.t Base.list -> Base.unit
val renameat : olddir:Fd.t -> oldpath:Base.string -> newdir:Fd.t -> newpath:Base.string -> Base.unit
val symlinkat : oldpath:Base.string -> newdir:Fd.t -> newpath:Base.string -> Base.unit
val fstatat : dir:Fd.t -> path:Base.string -> flags:At_flag.t Base.list -> Stats.t
val readlinkat : dir:Fd.t -> path:Base.string -> Base.string
val fdopendir : Fd.t -> Unix.dir_handle
val has_mkfifoat : Base.bool
OCaml

Innovation. Community. Security.