package posix-getopt

  1. Overview
  2. Docs
Bindings for posix getopt/getopt_long

Install

Dune Dependency

Authors

Maintainers

Sources

v2.0.1.tar.gz
md5=7bb4d95f4eaa43ebaf0a62817bf95006
sha512=872ec65363561596c6f0c97ea5bb909bdf375d96502491ec428da71cefb3c43d821a0969ecd453db9b6525e22cef16378b5b069b492141ae18e82efb22d2f724

doc/posix-getopt.stubs/Posix_getopt_stubs/Def/index.html

Module Posix_getopt_stubs.DefSource

Parameters

module F : Cstubs.FOREIGN

Signature

Sourcemodule Types : sig ... end
include module type of struct include Types end
Sourcemodule Option = Types.Option
Sourceval getopt : (int -> string Ctypes_static.ptr -> string -> int F.return) F.result
Sourceval has_getopt_long : (unit -> bool F.return) F.result
Sourceval getopt_long : (int -> string Ctypes_static.ptr -> string -> Option.t Ctypes.structure Ctypes_static.ptr -> int Ctypes_static.ptr -> int F.return) F.result
Sourceval has_getopt_long_only : (unit -> bool F.return) F.result
Sourceval getopt_long_only : (int -> string Ctypes_static.ptr -> string -> Option.t Ctypes.structure Ctypes_static.ptr -> int Ctypes_static.ptr -> int F.return) F.result
Sourceval getoptarg : (unit -> char Ctypes_static.ptr F.return) F.result
Sourceval getoptind : (unit -> int Ctypes_static.ptr F.return) F.result
Sourceval getopterr : (unit -> int Ctypes_static.ptr F.return) F.result
Sourceval getoptopt : (unit -> char Ctypes_static.ptr F.return) F.result
Sourceval getoptreset : (unit -> int Ctypes_static.ptr F.return) F.result
Sourceval strlen : (char Ctypes_static.ptr -> int F.return) F.result
OCaml

Innovation. Community. Security.