package posix-types

  1. Overview
  2. Docs

Module Posix_typesSource

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

Sourcemodule Blkcnt : Signed.S
Sourcemodule Blksize : Signed.S
Sourcemodule Clockid : Unsigned.S
Sourcemodule Dev : Unsigned.S
Sourcemodule Fsblkcnt : Unsigned.S
Sourcemodule Fsfilcnt : Unsigned.S
Sourcemodule Gid : Unsigned.S
Sourcemodule Id : Unsigned.S
Sourcemodule Ino : Unsigned.S
Sourcemodule Mode : Unsigned.S
Sourcemodule Off : Signed.S
Sourcemodule Pid : Signed.S
Sourcemodule Size : Unsigned.S
Sourcemodule Ssize : Signed.S
Sourcemodule Uid : Unsigned.S
Sourcemodule Useconds : Unsigned.S
Sourcemodule Suseconds : Signed.S

Types

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

Values

Sourceval blkcnt_t : blkcnt_t Ctypes.typ
Sourceval blksize_t : blksize_t Ctypes.typ
Sourceval clockid_t : clockid_t Ctypes.typ
Sourceval fsblkcnt_t : fsblkcnt_t Ctypes.typ
Sourceval fsfilcnt_t : fsfilcnt_t Ctypes.typ
Sourceval useconds_t : useconds_t Ctypes.typ
Sourceval suseconds_t : suseconds_t Ctypes.typ

Pthread API

Base module

Sourcemodule Pthread : sig ... end

Types

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

Values

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