package posix-socket

  1. Overview
  2. Docs
Bindings for posix sockets

Install

dune-project
 Dependency

Authors

Maintainers

Sources

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

doc/posix-socket.stubs/Posix_socket_stubs/Def/index.html

Module Posix_socket_stubs.DefSource

Parameters

module F : Cstubs.FOREIGN

Signature

Sourcemodule Types : sig ... end
Sourceval const_void_ptr : unit Ctypes_static.ptr Ctypes.typ
Sourceval strerror : (int -> string F.return) F.result
Sourceval strnlen : (char Ctypes_static.ptr -> Unsigned.size_t -> Unsigned.size_t F.return) F.result
Sourceval htonl : (Unsigned.uint32 -> Unsigned.uint32 F.return) F.result
Sourceval htons : (Unsigned.uint16 -> Unsigned.uint16 F.return) F.result
Sourceval ntohs : (Unsigned.uint16 -> Unsigned.uint16 F.return) F.result
Sourceval ntohl : (Unsigned.uint32 -> Unsigned.uint32 F.return) F.result