Copy pc86 platform to nes platform, and make change accordingly.
This commit is contained in:
committed by
Manoël Trapier
parent
dccecc5d45
commit
cc534493fd
14
plat/nes/libsys/close.c
Normal file
14
plat/nes/libsys/close.c
Normal file
@@ -0,0 +1,14 @@
|
||||
/* $Source$
|
||||
* $State$
|
||||
* $Revision$
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
|
||||
int close(int fd)
|
||||
{
|
||||
errno = EBADF;
|
||||
return -1;
|
||||
}
|
||||
Reference in New Issue
Block a user