blob: 8d9fb5523e26f5500fa1c21425c414a7492688fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include <unistd.h>
#include <pthread.h>
#include "thread_internal.h"
int __pthread_open(const char *pathname, int flags, mode_t mode);
int __pthread_open(const char *pathname, int flags, mode_t mode)
{
__TEST_CANCEL();
return __libc_open(pathname,flags,mode);
}
int open(const char *pathname, int flags, ...) __attribute__((alias("__pthread_open")));
|