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

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

#include <sys/wait.h>

pid_t waitpid(pid_t pid, int *status, int options)
{
  __TEST_CANCEL();
  return __libc_waitpid(pid,status,options);
}