1 2 3 4 5 6
#include <stdio.h> int fputc_unlocked(int c, FILE *stream) { return fwrite_unlocked(&c, 1, 1, stream) ? c : EOF; }