xref: /third_party/musl/porting/uniproton/kernel/src/stdio/feof.c
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/musl/porting/uniproton/kernel/src/stdio/
1570af302Sopenharmony_ci#include "stdio_impl.h"
2570af302Sopenharmony_ci
3570af302Sopenharmony_ci#undef feof
4570af302Sopenharmony_ci
5570af302Sopenharmony_ciint feof(FILE *f)
6570af302Sopenharmony_ci{
7570af302Sopenharmony_ci	FLOCK(f);
8570af302Sopenharmony_ci	int ret = !!(f->flags & F_EOF);
9570af302Sopenharmony_ci	FUNLOCK(f);
10570af302Sopenharmony_ci	return ret;
11570af302Sopenharmony_ci}
12570af302Sopenharmony_ci
13570af302Sopenharmony_ciweak_alias(feof, feof_unlocked);
14570af302Sopenharmony_ciweak_alias(feof, _IO_feof_unlocked);
15

Indexes created Thu Nov 07 10:32:03 CST 2024