oh5nxo··on Beep security updateThere's the common minor error with perror(). Intervening printf("\a"); can foul the errno and you get thebeep: open: not a typewriter