thr_self(3thread) thr_self(3thread)
NAME
thr_self - get thread identifier of the calling thread
SYNOPSIS
cc [options] -Kthread file
#include <thread.h>
thread_t thr_self(void);
DESCRIPTION
thr_self returns the identifier of the calling thread.
Return Values
thr_self returns the identifier of the calling thread.
Errors
None. This function always succeeds.
REFERENCES
getuid(2), thr_create(3thread), thread(3thread)
Copyright 1994 Novell, Inc. Page 1