summaryrefslogtreecommitdiff
path: root/src/stdio/flockfile.c
blob: 1b6ef5806fb78818139a509f116664ac96f0cdb8 (plain) (blame)
1
2
3
4
5
6
7
8
9
#include "stdio_impl.h"
#include "pthread_impl.h"

void flockfile(FILE *f)
{
	pthread_self();
	libc.lockfile = __lockfile;
	__lockfile(f);
}