Usermode/libposix - Stubbed functions for bochs
[tpg/acess2.git] / Usermode / Libraries / libposix.so_src / unistd.c
index 64cb70f..0f5bb38 100644 (file)
@@ -50,6 +50,12 @@ int open(const char *path, int openmode, ...)
        return ret;
 }
 
+int access(const char *path, int openmode)
+{
+       errno = EINVAL;
+       return -1;
+}
+
 int creat(const char *path, mode_t mode)
 {
        // TODO: Make native call to do this cheaper

UCC git Repository :: git.ucc.asn.au