int pthread_create(pthread_t *tid, pthread_attr_t *attr, void *(*func)(void*), void *arg);tidis the thread within a processattrsets attributes like priority, stack size- Can set to
NULLto get defaults
- Can set to
functo call to start the threadargis argument tofunc- Returns 0 if successful, positive error if not