about summary refs log tree commit diff
path: root/src/stdio/putchar_unlocked.c
blob: 72d47d1539463781167fd8c06cee1bbdcb7861a3 (plain) (blame)
1
2
3
4
5
6
7
#include "stdio_impl.h"

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