Beep on Linux in C
问题 I want to generate a beep sound with a specific frequency and length (for different sound signals) using the system beeper (and only the speakers if beeper is not available / accessible). I know it is possible to do this by using ioctl, but that requires root access, which I don\'t want. I know I could just use the \"beep\" command, but that would be a dependency, which, if possible, shouldn\'t be used (no external dependencies at all, just the basic linux libraries and C). What I currently