package posix-types

  1. Overview
  2. Docs

POSIX types from <sys/types.h>. This module is used to build further POSIX bindings. See Posix_time2_types for an example.

POSIX arithmetic types

Base modules

module Blkcnt : Signed.S
module Blksize : Signed.S
module Clock : Posix_base.Types.Arithmetic
module Dev : Unsigned.S
module Gid : Unsigned.S
module Id : Unsigned.S
module Ino : Unsigned.S
module Key : Posix_base.Types.Arithmetic
module Mode : Unsigned.S
module Off : Signed.S
module Pid : Signed.S
module Size : Unsigned.S
module Ssize : Signed.S
module Time : Posix_base.Types.Arithmetic
module Uid : Unsigned.S

Types

type blkcnt_t = Blkcnt.t
type blksize_t = Blksize.t
type clock_t = Clock.t
type clockid_t = Clockid.t
type dev_t = Dev.t
type fsblkcnt_t = Fsblkcnt.t
type fsfilcnt_t = Fsfilcnt.t
type gid_t = Gid.t
type id_t = Id.t
type ino_t = Ino.t
type key_t = Key.t
type mode_t = Mode.t
type off_t = Off.t
type pid_t = Pid.t
type size_t = Size.t
type ssize_t = Ssize.t
type time_t = Time.t
type uid_t = Uid.t
type useconds_t = Useconds.t
type suseconds_t = Suseconds.t

Values

val blkcnt_t : blkcnt_t Ctypes.typ
val blksize_t : blksize_t Ctypes.typ
val clock_t : clock_t Ctypes.typ
val clockid_t : clockid_t Ctypes.typ
val dev_t : dev_t Ctypes.typ
val fsblkcnt_t : fsblkcnt_t Ctypes.typ
val fsfilcnt_t : fsfilcnt_t Ctypes.typ
val gid_t : gid_t Ctypes.typ
val id_t : id_t Ctypes.typ
val ino_t : ino_t Ctypes.typ
val key_t : key_t Ctypes.typ
val mode_t : mode_t Ctypes.typ
val off_t : off_t Ctypes.typ
val pid_t : pid_t Ctypes.typ
val size_t : size_t Ctypes.typ
val ssize_t : ssize_t Ctypes.typ
val time_t : time_t Ctypes.typ
val uid_t : uid_t Ctypes.typ
val useconds_t : useconds_t Ctypes.typ
val suseconds_t : suseconds_t Ctypes.typ

Pthread API

Base module

module Pthread : sig ... end

Types

type pthread_attr_t = Pthread.Attr.t
type pthread_cond_t = Pthread.Cond.t
type pthread_condattr_t = Pthread.Condattr.t
type pthread_key_t = Pthread.Key.t
type pthread_mutex_t = Pthread.Mutex.t
type pthread_mutexattr_t = Pthread.Mutexattr.t
type pthread_once_t = Pthread.Once.t
type pthread_rwlock_t = Pthread.Rwlock.t
type pthread_rwlockattr_t = Pthread.Rwlockattr.t
type pthread_t = Pthread.T.t

Values

val pthread_attr_t : pthread_attr_t Ctypes.typ
val pthread_cond_t : pthread_cond_t Ctypes.typ
val pthread_condattr_t : pthread_condattr_t Ctypes.typ
val pthread_key_t : pthread_key_t Ctypes.typ
val pthread_mutex_t : pthread_mutex_t Ctypes.typ
val pthread_mutexattr_t : pthread_mutexattr_t Ctypes.typ
val pthread_once_t : pthread_once_t Ctypes.typ
val pthread_rwlock_t : pthread_rwlock_t Ctypes.typ
val pthread_rwlockattr_t : pthread_rwlockattr_t Ctypes.typ
val pthread_t : pthread_t Ctypes.typ
OCaml

Innovation. Community. Security.