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