Object

scala.scalanative.posix

signal

Related Doc: package posix

Permalink

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]

    Permalink
  2. type pid_t = Int

    Permalink
  3. type pthread_attr_t = ULong

    Permalink
  4. type pthread_t = ULong

    Permalink
  5. type sig_atomic_t = Int

    Permalink
  6. type sigaction = CStruct4[CFuncPtr1[CInt, Unit], sigset_t, CInt, CFuncPtr3[CInt, Ptr[siginfo_t], Ptr[Byte], Unit]]

    Permalink
  7. type sigevent = CStruct5[CInt, CInt, Ptr[sigval], CFuncPtr1[Ptr[sigval], Unit], Ptr[pthread_attr_t]]

    Permalink
  8. type siginfo_t = CStruct9[CInt, CInt, CInt, pid_t, uid_t, Ptr[Byte], CInt, CLong, Ptr[sigval]]

    Permalink
  9. type sigset_t = Ptr[Byte]

    Permalink
  10. type sigval = CArray[Byte, _8]

    Permalink
  11. type size_t = ULong

    Permalink
  12. type stack_t = CStruct3[Ptr[Byte], size_t, CInt]

    Permalink
  13. type timespec = CStruct2[time_t, CLong]

    Permalink
  14. type ucontext_t = CStruct4[Ptr[Byte], sigset_t, Ptr[stack_t], mcontext_t]

    Permalink
  15. type uid_t = UInt

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def BUS_ADRALN: CInt

    Permalink
    Annotations
    @name( "scalanative_bus_adraln" )
  5. def BUS_ADRERR: CInt

    Permalink
    Annotations
    @name( "scalanative_bus_adrerr" )
  6. def BUS_OBJERR: CInt

    Permalink
    Annotations
    @name( "scalanative_bus_objerr" )
  7. def CLD_CONTINUED: CInt

    Permalink
    Annotations
    @name( "scalanative_cld_continued" )
  8. def CLD_DUMPED: CInt

    Permalink
    Annotations
    @name( "scalanative_cld_dumped" )
  9. def CLD_EXITED: CInt

    Permalink
    Annotations
    @name( "scalanative_cld_exited" )
  10. def CLD_KILLED: CInt

    Permalink
    Annotations
    @name( "scalanative_cld_killed" )
  11. def CLD_STOPPED: CInt

    Permalink
    Annotations
    @name( "scalanative_cld_stopped" )
  12. def CLD_TRAPPED: CInt

    Permalink
    Annotations
    @name( "scalanative_cld_trapped" )
  13. def FPE_FLTDIV: CInt

    Permalink
    Annotations
    @name( "scalanative_fpe_fltdiv" )
  14. def FPE_FLTINV: CInt

    Permalink
    Annotations
    @name( "scalanative_fpe_fltinv" )
  15. def FPE_FLTOVF: CInt

    Permalink
    Annotations
    @name( "scalanative_fpe_fltovf" )
  16. def FPE_FLTRES: CInt

    Permalink
    Annotations
    @name( "scalanative_fpe_fltres" )
  17. def FPE_FLTSUB: CInt

    Permalink
    Annotations
    @name( "scalanative_fpe_fltsub" )
  18. def FPE_FLTUND: CInt

    Permalink
    Annotations
    @name( "scalanative_fpe_fltund" )
  19. def FPE_INTDIV: CInt

    Permalink
    Annotations
    @name( "scalanative_fpe_intdiv" )
  20. def FPE_INTOVF: CInt

    Permalink
    Annotations
    @name( "scalanative_fpe_intovf" )
  21. def ILL_BADSTK: CInt

    Permalink
    Annotations
    @name( "scalanative_ill_badstk" )
  22. def ILL_COPROC: CInt

    Permalink
    Annotations
    @name( "scalanative_ill_coproc" )
  23. def ILL_ILLADR: CInt

    Permalink
    Annotations
    @name( "scalanative_ill_illadr" )
  24. def ILL_ILLOPC: CInt

    Permalink
    Annotations
    @name( "scalanative_ill_illopc" )
  25. def ILL_ILLOPN: CInt

    Permalink
    Annotations
    @name( "scalanative_ill_illopn" )
  26. def ILL_ILLTRP: CInt

    Permalink
    Annotations
    @name( "scalanative_ill_illtrp" )
  27. def ILL_PRVOPC: CInt

    Permalink
    Annotations
    @name( "scalanative_ill_prvopc" )
  28. def ILL_PRVREG: CInt

    Permalink
    Annotations
    @name( "scalanative_ill_prvreg" )
  29. def MINSIGSTKSZ: CInt

    Permalink
    Annotations
    @name( "scalanative_minsigstksz" )
  30. def POLL_ERR: CInt

    Permalink
    Annotations
    @name( "scalanative_poll_err" )
  31. def POLL_HUP: CInt

    Permalink
    Annotations
    @name( "scalanative_poll_hup" )
  32. def POLL_IN: CInt

    Permalink
    Annotations
    @name( "scalanative_poll_in" )
  33. def POLL_MSG: CInt

    Permalink
    Annotations
    @name( "scalanative_poll_msg" )
  34. def POLL_OUT: CInt

    Permalink
    Annotations
    @name( "scalanative_poll_out" )
  35. def POLL_PRI: CInt

    Permalink
    Annotations
    @name( "scalanative_poll_pri" )
  36. def SA_NOCLDSTOP: CInt

    Permalink
    Annotations
    @name( "scalanative_sa_nocldstop" )
  37. def SA_NOCLDWAIT: CInt

    Permalink
    Annotations
    @name( "scalanative_sa_nocldwait" )
  38. def SA_NODEFER: CInt

    Permalink
    Annotations
    @name( "scalanative_sa_nodefer" )
  39. def SA_ONSTACK: CInt

    Permalink
    Annotations
    @name( "scalanative_sa_onstack" )
  40. def SA_RESETHAND: CInt

    Permalink
    Annotations
    @name( "scalanative_sa_resethand" )
  41. def SA_RESTART: CInt

    Permalink
    Annotations
    @name( "scalanative_sa_restart" )
  42. def SA_SIGINFO: CInt

    Permalink
    Annotations
    @name( "scalanative_sa_siginfo" )
  43. def SEGV_ACCERR: CInt

    Permalink
    Annotations
    @name( "scalanative_segv_accerr" )
  44. def SEGV_MAPERR: CInt

    Permalink
    Annotations
    @name( "scalanative_segv_maperr" )
  45. def SIGALRM: CInt

    Permalink
    Annotations
    @name( "scalanative_sigalrm" )
  46. def SIGBUS: CInt

    Permalink
    Annotations
    @name( "scalanative_sigbus" )
  47. def SIGCHLD: CInt

    Permalink
    Annotations
    @name( "scalanative_sigchld" )
  48. def SIGCONT: CInt

    Permalink
    Annotations
    @name( "scalanative_sigcont" )
  49. def SIGEV_NONE: CInt

    Permalink
    Annotations
    @name( "scalanative_sigev_none" )
  50. def SIGEV_SIGNAL: CInt

    Permalink
    Annotations
    @name( "scalanative_sigev_signal" )
  51. def SIGEV_THREAD: CInt

    Permalink
    Annotations
    @name( "scalanative_sigev_thread" )
  52. def SIGHUP: CInt

    Permalink
    Annotations
    @name( "scalanative_sighup" )
  53. def SIGKILL: CInt

    Permalink
    Annotations
    @name( "scalanative_sigkill" )
  54. def SIGPIPE: CInt

    Permalink
    Annotations
    @name( "scalanative_sigpipe" )
  55. def SIGPROF: CInt

    Permalink
    Annotations
    @name( "scalanative_sigprof" )
  56. def SIGQUIT: CInt

    Permalink
    Annotations
    @name( "scalanative_sigquit" )
  57. def SIGSTKSZ: CInt

    Permalink
    Annotations
    @name( "scalanative_sigstksz" )
  58. def SIGSTOP: CInt

    Permalink
    Annotations
    @name( "scalanative_sigstop" )
  59. def SIGSYS: CInt

    Permalink
    Annotations
    @name( "scalanative_sigsys" )
  60. def SIGTRAP: CInt

    Permalink
    Annotations
    @name( "scalanative_sigtrap" )
  61. def SIGTSTP: CInt

    Permalink
    Annotations
    @name( "scalanative_sigtstp" )
  62. def SIGTTIN: CInt

    Permalink
    Annotations
    @name( "scalanative_sigttin" )
  63. def SIGTTOU: CInt

    Permalink
    Annotations
    @name( "scalanative_sigttou" )
  64. def SIGURG: CInt

    Permalink
    Annotations
    @name( "scalanative_sigurg" )
  65. def SIGUSR1: CInt

    Permalink
    Annotations
    @name( "scalanative_sigusr1" )
  66. def SIGUSR2: CInt

    Permalink
    Annotations
    @name( "scalanative_sigusr2" )
  67. def SIGVTALRM: CInt

    Permalink
    Annotations
    @name( "scalanative_sigtalrm" )
  68. def SIGXCPU: CInt

    Permalink
    Annotations
    @name( "scalanative_sigxcpu" )
  69. def SIGXFSZ: CInt

    Permalink
    Annotations
    @name( "scalanative_sigxfsz" )
  70. def SIG_BLOCK: CInt

    Permalink
    Annotations
    @name( "scalanative_sig_block" )
  71. def SIG_SETMASK: CInt

    Permalink
    Annotations
    @name( "scalanative_sig_setmask" )
  72. def SIG_UNBLOCK: CInt

    Permalink
    Annotations
    @name( "scalanative_sig_unblock" )
  73. def SI_ASYNCIO: CInt

    Permalink
    Annotations
    @name( "scalanative_si_asyncio" )
  74. def SI_MESGQ: CInt

    Permalink
    Annotations
    @name( "scalanative_si_mesgq" )
  75. def SI_QUEUE: CInt

    Permalink
    Annotations
    @name( "scalanative_si_queue" )
  76. def SI_TIMER: CInt

    Permalink
    Annotations
    @name( "scalanative_si_timer" )
  77. def SI_USER: CInt

    Permalink
    Annotations
    @name( "scalanative_si_user" )
  78. def SS_DISABLE: CInt

    Permalink
    Annotations
    @name( "scalanative_ss_disable" )
  79. def SS_ONSTACK: CInt

    Permalink
    Annotations
    @name( "scalanative_ss_onstack" )
  80. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  81. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  82. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  83. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  84. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  85. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  86. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  87. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  88. def kill(pid: pid_t, sig: CInt): CInt

    Permalink
  89. def killpg(pgrp: pid_t, sig: CInt): CInt

    Permalink
  90. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  91. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  92. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  93. def psiginfo(info: Ptr[siginfo_t], msg: CString): Unit

    Permalink
  94. def psignal(sig: CInt, msg: CString): Unit

    Permalink
  95. def pthread_kill(thread: pthread_t, sig: CInt): CInt

    Permalink
  96. def pthread_sigmask(how: CInt, set: Ptr[sigset_t], oset: Ptr[sigset_t]): CInt

    Permalink
  97. def sigaction(sig: CInt, act: Ptr[sigaction], oact: Ptr[sigaction]): CInt

    Permalink
  98. def sigaddset(set: Ptr[sigset_t], signo: CInt): CInt

    Permalink
  99. def sigaltstack(ss: Ptr[stack_t], oss: Ptr[stack_t]): CInt

    Permalink
  100. def sigdelset(set: Ptr[sigset_t], signo: CInt): CInt

    Permalink
  101. def sigemptyset(set: Ptr[sigset_t]): CInt

    Permalink
  102. def sigfillset(set: Ptr[sigset_t]): CInt

    Permalink
  103. def sighold(sig: CInt): CInt

    Permalink
  104. def sigignore(sig: CInt): CInt

    Permalink
  105. def siginterrupt(sig: CInt, flag: CInt): CInt

    Permalink
  106. def sigismember(set: Ptr[sigset_t], signo: CInt): CInt

    Permalink
  107. def sigpause(sig: CInt): CInt

    Permalink
  108. def sigpending(set: Ptr[sigset_t]): CInt

    Permalink
  109. def sigprocmask(how: CInt, set: Ptr[sigset_t], oset: Ptr[sigset_t]): CInt

    Permalink
  110. def sigqueue(pid: pid_t, signo: CInt, value: Ptr[sigval]): CInt

    Permalink
  111. def sigrelse(sig: CInt): CInt

    Permalink
  112. def sigset(sig: CInt, disp: CFuncPtr1[CInt, Unit]): CFuncPtr1[CInt, Unit]

    Permalink
  113. def sigsuspend(sigmask: Ptr[sigset_t]): CInt

    Permalink
  114. def sigtimedwait(set: Ptr[sigset_t], info: Ptr[siginfo_t], timeout: Ptr[timespec]): CInt

    Permalink
  115. def sigwait(set: Ptr[sigset_t], sig: Ptr[CInt]): CInt

    Permalink
  116. def sigwaitinfo(set: Ptr[sigset_t], info: Ptr[siginfo_t]): CInt

    Permalink
  117. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  118. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  119. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  120. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  121. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped