#include #include #include void *foo() { printf("called foo\n"); } int main() { pthread_t t; int rc = 0; rc = pthread_create(&t,0,&foo,0); usleep(5000); printf("return code is:%d\n",rc); }