Modules/IPStack - Rework TCP connection closing
[tpg/acess2.git] / Usermode / Libraries / libposix.so_src / unistd.c
index 64cb70f..3af7bcb 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
@@ -202,7 +208,7 @@ int kill(pid_t pid, int signal)
 
 int select(int nfd, fd_set *rfd, fd_set *wfd, fd_set *efd, struct timeval *timeout)
 {
-       long long int   ltimeout = 0, *ltimeoutp = NULL;
+       int64_t ltimeout = 0, *ltimeoutp = NULL;
        if( timeout )
        {
                ltimeout = timeout->tv_sec*1000 + timeout->tv_usec / 1000;

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