Multithreaded Programming Guide

Return Values

Returns zero after completing successfully. Any other returned value indicates that an error occurred. When either of the following conditions occurs, pthread_kill() fails and returns the corresponding value.


sig is not a valid signal number.


tid cannot be found in the current process.