Changeset 3782:f71f3d6e5177 in roaraudio for libroaross


Ignore:
Timestamp:
05/07/10 13:28:26 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

dummy access() which simply passes all requets to kernel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroaross/libroaross.c

    r3781 r3782  
    150150                   fd_set *exceptfds, struct timeval *timeout); 
    151151 int     (*fcntl)(int fd, int cmd, ...); 
     152 int     (*access)(const char *pathname, int mode); 
    152153} _os; 
    153154 
     
    251252 _os.select = dlsym(REAL_LIBC, "select"); 
    252253 _os.fcntl  = dlsym(REAL_LIBC, "fcntl"); 
     254 _os.access = dlsym(REAL_LIBC, "access"); 
    253255} 
    254256 
     
    16741676} 
    16751677 
     1678int access(const char *pathname, int mode) { 
     1679 
     1680 _init(); 
     1681 
     1682 return _os.access(pathname, mode); 
     1683} 
     1684 
    16761685// ------------------------------------- 
    16771686// emulated stdio functions follow: 
Note: See TracChangeset for help on using the changeset viewer.