Copy pc86 platform to nes platform, and make change accordingly.

This commit is contained in:
Manoel Trapier
2013-03-04 19:00:38 +01:00
committed by Manoël Trapier
parent dccecc5d45
commit cc534493fd
26 changed files with 687 additions and 0 deletions

14
plat/nes/libsys/close.c Normal file
View 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;
}