home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Gadgets 1
/
ADE-1.bin
/
ade-dist
/
emacs-19.28-src.tgz
/
tar.out
/
fsf
/
emacs
/
unixlib
/
src
/
pseudo_c.c
< prev
next >
Wrap
C/C++ Source or Header
|
1996-09-28
|
262b
|
19 lines
#include "amiga.h"
#include "files.h"
#include <fcntl.h>
int _pseudo_close(int fd)
{
struct fileinfo *fi;
chkabort();
if (fi = _find_fd(fd))
{
int err = fi->close(fi->userinfo, TRUE);
_free_fd(fd);
return err;
}
return -1;
}