Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Low level FFI interface. You should rarely need to use this directly.
Types
Core functions
Open a handle to the console.
Use withBeepFd
instead if possible, since it keeps track of closing
the handle automatically.
:: BeepFd | A console handle, as returned by |
-> Rational | Duration, in seconds |
-> Double | Frequency of the beep, in hertz |
-> IO () |
Perform a beep.