Low level FFI interface. You should never need to use this directly.
Open a handle to the console.
withBeepFd instead if possible, since it keeps track of closing
the handle automatically.
A console handle, as returned by
Duration, in seconds
Frequency of the beep, in hertz
|-> IO ()|
Perform a beep.