package stdune

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Unix Signal helpers

type t =
  1. | Int
  2. | Term
  3. | Abrt
  4. | Alrm
  5. | Fpe
  6. | Hup
  7. | Ill
  8. | Kill
  9. | Pipe
  10. | Quit
  11. | Segv
  12. | Usr1
  13. | Usr2
  14. | Chld
  15. | Cont
  16. | Stop
  17. | Tstp
  18. | Ttin
  19. | Ttou
  20. | Vtalrm
  21. | Prof
  22. | Bus
  23. | Poll
  24. | Sys
  25. | Trap
  26. | Urg
  27. | Xcpu
  28. | Xfsz
  29. | Winch
  30. | Unknown of int
val name : t -> string

Get the signal's name, e.g. Int maps to "INT", Term to "TERM", etc.

val to_int : t -> int
val to_dyn : t -> Dyn.t
val compare : t -> t -> Ordering.t
val of_int : int -> t
OCaml

Innovation. Community. Security.