Changeset 3782:f71f3d6e5177 in roaraudio for libroaross/libroaross.c
- Timestamp:
- 05/07/10 13:28:26 (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroaross/libroaross.c
r3781 r3782 150 150 fd_set *exceptfds, struct timeval *timeout); 151 151 int (*fcntl)(int fd, int cmd, ...); 152 int (*access)(const char *pathname, int mode); 152 153 } _os; 153 154 … … 251 252 _os.select = dlsym(REAL_LIBC, "select"); 252 253 _os.fcntl = dlsym(REAL_LIBC, "fcntl"); 254 _os.access = dlsym(REAL_LIBC, "access"); 253 255 } 254 256 … … 1674 1676 } 1675 1677 1678 int access(const char *pathname, int mode) { 1679 1680 _init(); 1681 1682 return _os.access(pathname, mode); 1683 } 1684 1676 1685 // ------------------------------------- 1677 1686 // emulated stdio functions follow:
Note: See TracChangeset
for help on using the changeset viewer.