hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

types.ha (401B)


      1 // SPDX-License-Identifier: MPL-2.0
      2 // (c) Hare authors <https://harelang.org>
      3 
      4 // A function which handles a signal. The first argument is the signal number
      5 // which was caught, the second provides information about the signal, and the
      6 // third argument is the ucontext, which is usually ignored by most signal
      7 // handlers.
      8 export type handler = fn(sig: sig, info: *siginfo, ucontext: *opaque) void;