summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/fgets_unlocked.c
blob: 3258a4e8cb384ded4657e19abbd9b9842d21510f (plain)
1
2
3
4
5
6
7
#include "stddef.h"
#include <stdio.h>

char *fgets_unlocked(char *s, int n, FILE *stream)
{
	return fread_unlocked(s, 1, n, stream) ? s : NULL;
}