home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programmer 7500
/
MAX_PROGRAMMERS.iso
/
CLIPPER
/
MISC
/
EMXLIB8F.ZIP
/
EMX
/
LIB
/
IO
/
CLOSE.C
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
C/C++ Source or Header
|
1993-01-02
|
292 b
|
16 lines
/* close.c (emx+gcc) -- Copyright (c) 1990-1993 by Eberhard Mattes */
#include <sys/emx.h>
#include <io.h>
#include <errno.h>
int close (int handle)
{
if (handle < 0 || handle >= _nfiles)
{
errno = EBADF;
return (-1);
}
return (__close (handle));
}