summaryrefslogtreecommitdiff
path: root/src/stdio/__fpending.c
blob: a4334e2383216340984418b0b5e07ab0540b0dba (plain)
1
2
3
4
5
6
#include "stdio_impl.h"

size_t __fpending(FILE *f)
{
	return f->wend ? f->wpos - f->wbase : 0;
}