aboutsummaryrefslogtreecommitdiff
path: root/sys/libc/fgetc.c
blob: 155a11116dc3b55813da294f44f9b75bcaad9da7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
*/

#define	import_spp
#define	import_libc
#define	import_stdio
#include <iraf.h>


/* FGETC -- Get a character from the input file.  Offered as a functionally
** equivalent alternative to the macro GETC.
*/
int
fgetc (
  FILE	*fp
)
{
	return (getc (fp));
}