48e74f46fc
which can be emulated using qemu (for, hopefully, a test suite). Currently it generates images which won't run because there's no RAM.
16 lines
199 B
C
16 lines
199 B
C
/* $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;
|
|
}
|