void bof(char * str) { int guard = secret char buffer[12] strcpy (buffer, str); if (guard == secret) { return; } exit (1); }