package extunix

  1. Overview
  2. Docs
val feature : string -> bool option
  • returns

    whether feature is available

val have : [< `ATFILE | `CHROOT | `CLEARENV | `CTERMID | `DIRFD | `ENDIAN | `EVENTFD | `EXECINFO | `FADVISE | `FALLOCATE | `FCNTL | `FDATASYNC | `FEXECVE | `FSTATVFS | `FSYNC | `GETTID | `IFADDRS | `INET_NTOA | `MALLOC_INFO | `MALLOC_STATS | `MCHECK | `MEMALIGN | `MKDTEMP | `MKOSTEMPS | `MKSTEMPS | `MLOCKALL | `MOUNT | `PGID | `POLL | `PREAD | `PTRACE | `PTS | `PWRITE | `READ | `READ_CREDENTIALS | `REALPATH | `RESOURCE | `SENDMSG | `SETENV | `SETRESUID | `SETREUID | `SIGNALFD | `SIOCGIFCONF | `SOCKOPT | `SO_REUSEPORT | `SPLICE | `STATVFS | `STRTIME | `SYNC | `SYNCFS | `SYSCONF | `SYSINFO | `SYSLOG | `TCPGRP | `TCP_KEEPCNT | `TCP_KEEPIDLE | `TCP_KEEPINTVL | `TEE | `TIMEGM | `TIMEZONE | `TTYNAME | `TTY_IOCTL | `UNAME | `UNSHARE | `VMSPLICE | `WRITE ] -> bool
  • returns

    whether feature is available

OCaml

Innovation. Community. Security.