mirror of
https://github.com/fluencelabs/musl
synced 2025-05-23 04:31:32 +00:00
9 lines
173 B
C
9 lines
173 B
C
|
#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);
|