package posix-getopt

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v4.0.1.tar.gz
md5=464f431a8517dba4295286dd61f3ff2c
sha512=36d4c64987848fc06a4296c2141d250d95db0092b2d9d4d95f301f5eaada9a3df8ae9703fc8f2407596f6fb474a69863abd5e3d2c08636eb2c0dd67477d316e8

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 const_string_ptr : string Ctypes_static.ptr Ctypes.typ
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