summaryrefslogblamecommitdiff
path: root/src/stdio/putc_unlocked.c
blob: f01da7172644f6c6501b9b260220a7df00ef2640 (plain) (tree)
1
2
3
4
5
6
7
8







                                                                        
#include "stdio_impl.h"

int putc_unlocked(int c, FILE *f)
{
	return f->wpos < f->wstop ? (*f->wpos++ = c) : __overflow(f, c);
}

weak_alias(putc_unlocked, fputc_unlocked);