blob: ac5261e71dd9b7412e4ba91b54a8473e18b55886 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include <stdio.h>
int fputs(const char *restrict s, FILE *restrict stream)
{
int r;
flockfile(stream);
r = fputs_unlocked(s, stream);
funlockfile(stream);
return r;
}
|