/* * Test for pthread_exit(). * * Depends on API functions: None. */ #include int main(int argc, char * argv[]) { /* A simple test firstly. */ pthread_exit((void *) 2); }