__sfileno
#define fileno(p) (!__isthreaded ? __sfileno(p) : (fileno)(p))
#define fileno_unlocked(p) __sfileno(p)