package posix-getopt

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

Install

Dune Dependency

Authors

Maintainers

Sources

v2.0.0.tar.gz
md5=2c186aa5161b72208a870d5710fb6208
sha512=d583c3d386865eab7575fc4f1976c17294bad2ee5037327cb5c3075965788170e652b7b9b9f660ef25f71558553fbcc47734b971e3c9f41627cc573d75d2fb54

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.