// happ.c #include <stdio.h> int main() { FILE *f = fopen("/tmp/pcm_cmd", "w"); if (!f) return 1; fprintf(f, "pause\n"); fclose(f); return 0; }