blob: 969c5d504ba62d2d9098b8c6af70d896add75605 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/* Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
*/
#define import_spp
#define import_libc
#define import_stdio
#define import_xnames
#include <iraf.h>
/* FCLOSE -- Close a file opened with fopen.
*/
int
fclose (
FILE *fp
)
{
XINT x_fd = fileno(fp);
iferr (CLOSE (&x_fd))
return (EOF);
else
return (OK);
}
|