define GNU SOURCE
use fputs for prompt