NetBSD-5.0.2/regress/lib/libpthread/exit1/exit1.c

Compare this file to the similar file:
Show the results in this format:

#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>

int
main(void)
{

	printf("Test of pthread_exit() in main thread only.\n");

	pthread_exit(NULL);

	printf("You shouldn't see this.");
	exit(1);

}