summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/libpthread/pthread_sys_open.c
blob: 513f6a3237af70ce7eb2d067882c32d8d95ce844 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <unistd.h>

#include <pthread.h>
#include "thread_internal.h"

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")));