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




                         
                                           

                      
#include "stdio_impl.h"
#include "pthread_impl.h"

void flockfile(FILE *f)
{
	if (!libc.threaded) pthread_self();
	__lockfile(f);
}