about summary refs log tree commit diff
path: root/src/stdio/fpurge.c
blob: a9e98e7b84166d13aff2b6e5ba21a284b60e8970 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#define _GNU_SOURCE
#include "stdio_impl.h"

int __fpurge(FILE *f)
{
	f->wpos = f->wbase = f->wend = 0;
	f->rpos = f->rend = 0;
	return 0;
}

weak_alias(__fpurge, fpurge);