there we go that looks less insane :PCode:inline bool Flush_Stream(FILE* stream) { void* p = malloc(BUFSIZ); if (p == NULL) { return false; } else setbuf(stream, p); free(p); return true; }
sorry im anal about {} in if statements also you needed an else to be more clear what you wanted to happen in the if statement.