diff options
Diffstat (limited to 'mdk-stage1/dietlibc/libpthread/pthread_sys_create.c')
-rw-r--r-- | mdk-stage1/dietlibc/libpthread/pthread_sys_create.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mdk-stage1/dietlibc/libpthread/pthread_sys_create.c b/mdk-stage1/dietlibc/libpthread/pthread_sys_create.c new file mode 100644 index 000000000..9d47844f5 --- /dev/null +++ b/mdk-stage1/dietlibc/libpthread/pthread_sys_create.c @@ -0,0 +1,10 @@ +#include <unistd.h> + +#include <pthread.h> +#include "thread_internal.h" + +int creat(const char *pathname, mode_t mode) +{ + __TEST_CANCEL(); + return __libc_creat(pathname,mode); +} |