Packages

object signal

Some of the functionality described on this reference page extends the ISO C standard. Applications shall define the appropriate feature test macro (see XSH The Compilation Environment) to enable the visibility of these symbols in this header.

Use clib macros and functions to get the full POSIX interface

Note 1: The functionality described may be removed in a future version of this volume of POSIX.1-2017 Note 2: The functionality is an option marked as XSI (X/Open System Interfaces)

Note 1 or 2 followed by Linux or macOS means that the feature is not available on that platform with default compile options so the code is commented out. The code is commented out so the next developer that comes along will not have to rediscover these limitations.

Annotations
@extern()
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. signal
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type mcontext_t = Ptr[Byte]
  2. type pid_t = Int
  3. type pthread_attr_t = ULong
  4. type pthread_t = ULong
  5. type sig_atomic_t = Int
  6. type sigaction = CStruct4[CFuncPtr1[CInt, Unit], sigset_t, CInt, CFuncPtr3[CInt, Ptr[siginfo_t], Ptr[Byte], Unit]]
  7. type sigevent = CStruct5[CInt, CInt, Ptr[sigval], CFuncPtr1[Ptr[sigval], Unit], Ptr[pthread_attr_t]]
  8. type siginfo_t = CStruct9[CInt, CInt, CInt, pid_t, uid_t, Ptr[Byte], CInt, CLong, Ptr[sigval]]
  9. type sigset_t = Ptr[Byte]
  10. type sigval = CArray[Byte, _8]
  11. type size_t = ULong
  12. type stack_t = CStruct3[Ptr[Byte], size_t, CInt]
  13. type timespec = CStruct2[time_t, CLong]
  14. type ucontext_t = CStruct4[Ptr[Byte], sigset_t, Ptr[stack_t], mcontext_t]
  15. type uid_t = UInt

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def BUS_ADRALN: CInt
    Annotations
    @name( "scalanative_bus_adraln" )
  5. def BUS_ADRERR: CInt
    Annotations
    @name( "scalanative_bus_adrerr" )
  6. def BUS_OBJERR: CInt
    Annotations
    @name( "scalanative_bus_objerr" )
  7. def CLD_CONTINUED: CInt
    Annotations
    @name( "scalanative_cld_continued" )
  8. def CLD_DUMPED: CInt
    Annotations
    @name( "scalanative_cld_dumped" )
  9. def CLD_EXITED: CInt
    Annotations
    @name( "scalanative_cld_exited" )
  10. def CLD_KILLED: CInt
    Annotations
    @name( "scalanative_cld_killed" )
  11. def CLD_STOPPED: CInt
    Annotations
    @name( "scalanative_cld_stopped" )
  12. def CLD_TRAPPED: CInt
    Annotations
    @name( "scalanative_cld_trapped" )
  13. def FPE_FLTDIV: CInt
    Annotations
    @name( "scalanative_fpe_fltdiv" )
  14. def FPE_FLTINV: CInt
    Annotations
    @name( "scalanative_fpe_fltinv" )
  15. def FPE_FLTOVF: CInt
    Annotations
    @name( "scalanative_fpe_fltovf" )
  16. def FPE_FLTRES: CInt
    Annotations
    @name( "scalanative_fpe_fltres" )
  17. def FPE_FLTSUB: CInt
    Annotations
    @name( "scalanative_fpe_fltsub" )
  18. def FPE_FLTUND: CInt
    Annotations
    @name( "scalanative_fpe_fltund" )
  19. def FPE_INTDIV: CInt
    Annotations
    @name( "scalanative_fpe_intdiv" )
  20. def FPE_INTOVF: CInt
    Annotations
    @name( "scalanative_fpe_intovf" )
  21. def ILL_BADSTK: CInt
    Annotations
    @name( "scalanative_ill_badstk" )
  22. def ILL_COPROC: CInt
    Annotations
    @name( "scalanative_ill_coproc" )
  23. def ILL_ILLADR: CInt
    Annotations
    @name( "scalanative_ill_illadr" )
  24. def ILL_ILLOPC: CInt
    Annotations
    @name( "scalanative_ill_illopc" )
  25. def ILL_ILLOPN: CInt
    Annotations
    @name( "scalanative_ill_illopn" )
  26. def ILL_ILLTRP: CInt
    Annotations
    @name( "scalanative_ill_illtrp" )
  27. def ILL_PRVOPC: CInt
    Annotations
    @name( "scalanative_ill_prvopc" )
  28. def ILL_PRVREG: CInt
    Annotations
    @name( "scalanative_ill_prvreg" )
  29. def MINSIGSTKSZ: CInt
    Annotations
    @name( "scalanative_minsigstksz" )
  30. def POLL_ERR: CInt
    Annotations
    @name( "scalanative_poll_err" )
  31. def POLL_HUP: CInt
    Annotations
    @name( "scalanative_poll_hup" )
  32. def POLL_IN: CInt
    Annotations
    @name( "scalanative_poll_in" )
  33. def POLL_MSG: CInt
    Annotations
    @name( "scalanative_poll_msg" )
  34. def POLL_OUT: CInt
    Annotations
    @name( "scalanative_poll_out" )
  35. def POLL_PRI: CInt
    Annotations
    @name( "scalanative_poll_pri" )
  36. def SA_NOCLDSTOP: CInt
    Annotations
    @name( "scalanative_sa_nocldstop" )
  37. def SA_NOCLDWAIT: CInt
    Annotations
    @name( "scalanative_sa_nocldwait" )
  38. def SA_NODEFER: CInt
    Annotations
    @name( "scalanative_sa_nodefer" )
  39. def SA_ONSTACK: CInt
    Annotations
    @name( "scalanative_sa_onstack" )
  40. def SA_RESETHAND: CInt
    Annotations
    @name( "scalanative_sa_resethand" )
  41. def SA_RESTART: CInt
    Annotations
    @name( "scalanative_sa_restart" )
  42. def SA_SIGINFO: CInt
    Annotations
    @name( "scalanative_sa_siginfo" )
  43. def SEGV_ACCERR: CInt
    Annotations
    @name( "scalanative_segv_accerr" )
  44. def SEGV_MAPERR: CInt
    Annotations
    @name( "scalanative_segv_maperr" )
  45. def SIGALRM: CInt
    Annotations
    @name( "scalanative_sigalrm" )
  46. def SIGBUS: CInt
    Annotations
    @name( "scalanative_sigbus" )
  47. def SIGCHLD: CInt
    Annotations
    @name( "scalanative_sigchld" )
  48. def SIGCONT: CInt
    Annotations
    @name( "scalanative_sigcont" )
  49. def SIGEV_NONE: CInt
    Annotations
    @name( "scalanative_sigev_none" )
  50. def SIGEV_SIGNAL: CInt
    Annotations
    @name( "scalanative_sigev_signal" )
  51. def SIGEV_THREAD: CInt
    Annotations
    @name( "scalanative_sigev_thread" )
  52. def SIGHUP: CInt
    Annotations
    @name( "scalanative_sighup" )
  53. def SIGKILL: CInt
    Annotations
    @name( "scalanative_sigkill" )
  54. def SIGPIPE: CInt
    Annotations
    @name( "scalanative_sigpipe" )
  55. def SIGPROF: CInt
    Annotations
    @name( "scalanative_sigprof" )
  56. def SIGQUIT: CInt
    Annotations
    @name( "scalanative_sigquit" )
  57. def SIGSTKSZ: CInt
    Annotations
    @name( "scalanative_sigstksz" )
  58. def SIGSTOP: CInt
    Annotations
    @name( "scalanative_sigstop" )
  59. def SIGSYS: CInt
    Annotations
    @name( "scalanative_sigsys" )
  60. def SIGTRAP: CInt
    Annotations
    @name( "scalanative_sigtrap" )
  61. def SIGTSTP: CInt
    Annotations
    @name( "scalanative_sigtstp" )
  62. def SIGTTIN: CInt
    Annotations
    @name( "scalanative_sigttin" )
  63. def SIGTTOU: CInt
    Annotations
    @name( "scalanative_sigttou" )
  64. def SIGURG: CInt
    Annotations
    @name( "scalanative_sigurg" )
  65. def SIGUSR1: CInt
    Annotations
    @name( "scalanative_sigusr1" )
  66. def SIGUSR2: CInt
    Annotations
    @name( "scalanative_sigusr2" )
  67. def SIGVTALRM: CInt
    Annotations
    @name( "scalanative_sigtalrm" )
  68. def SIGXCPU: CInt
    Annotations
    @name( "scalanative_sigxcpu" )
  69. def SIGXFSZ: CInt
    Annotations
    @name( "scalanative_sigxfsz" )
  70. def SIG_BLOCK: CInt
    Annotations
    @name( "scalanative_sig_block" )
  71. def SIG_SETMASK: CInt
    Annotations
    @name( "scalanative_sig_setmask" )
  72. def SIG_UNBLOCK: CInt
    Annotations
    @name( "scalanative_sig_unblock" )
  73. def SI_ASYNCIO: CInt
    Annotations
    @name( "scalanative_si_asyncio" )
  74. def SI_MESGQ: CInt
    Annotations
    @name( "scalanative_si_mesgq" )
  75. def SI_QUEUE: CInt
    Annotations
    @name( "scalanative_si_queue" )
  76. def SI_TIMER: CInt
    Annotations
    @name( "scalanative_si_timer" )
  77. def SI_USER: CInt
    Annotations
    @name( "scalanative_si_user" )
  78. def SS_DISABLE: CInt
    Annotations
    @name( "scalanative_ss_disable" )
  79. def SS_ONSTACK: CInt
    Annotations
    @name( "scalanative_ss_onstack" )
  80. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  81. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  82. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  83. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  84. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  85. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  86. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  87. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  88. def kill(pid: pid_t, sig: CInt): CInt
  89. def killpg(pgrp: pid_t, sig: CInt): CInt
  90. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  91. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  92. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  93. def psiginfo(info: Ptr[siginfo_t], msg: CString): Unit
  94. def psignal(sig: CInt, msg: CString): Unit
  95. def pthread_kill(thread: pthread_t, sig: CInt): CInt
  96. def pthread_sigmask(how: CInt, set: Ptr[sigset_t], oset: Ptr[sigset_t]): CInt
  97. def sigaction(sig: CInt, act: Ptr[sigaction], oact: Ptr[sigaction]): CInt
  98. def sigaddset(set: Ptr[sigset_t], signo: CInt): CInt
  99. def sigaltstack(ss: Ptr[stack_t], oss: Ptr[stack_t]): CInt
  100. def sigdelset(set: Ptr[sigset_t], signo: CInt): CInt
  101. def sigemptyset(set: Ptr[sigset_t]): CInt
  102. def sigfillset(set: Ptr[sigset_t]): CInt
  103. def sighold(sig: CInt): CInt
  104. def sigignore(sig: CInt): CInt
  105. def siginterrupt(sig: CInt, flag: CInt): CInt
  106. def sigismember(set: Ptr[sigset_t], signo: CInt): CInt
  107. def sigpause(sig: CInt): CInt
  108. def sigpending(set: Ptr[sigset_t]): CInt
  109. def sigprocmask(how: CInt, set: Ptr[sigset_t], oset: Ptr[sigset_t]): CInt
  110. def sigqueue(pid: pid_t, signo: CInt, value: Ptr[sigval]): CInt
  111. def sigrelse(sig: CInt): CInt
  112. def sigset(sig: CInt, disp: CFuncPtr1[CInt, Unit]): CFuncPtr1[CInt, Unit]
  113. def sigsuspend(sigmask: Ptr[sigset_t]): CInt
  114. def sigtimedwait(set: Ptr[sigset_t], info: Ptr[siginfo_t], timeout: Ptr[timespec]): CInt
  115. def sigwait(set: Ptr[sigset_t], sig: Ptr[CInt]): CInt
  116. def sigwaitinfo(set: Ptr[sigset_t], info: Ptr[siginfo_t]): CInt
  117. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  118. def toString(): String
    Definition Classes
    AnyRef → Any
  119. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  120. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  121. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped