mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
16 lines
215 B
C
16 lines
215 B
C
#include <pthread.h>
|
|
#include <unistd.h>
|
|
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
|
|
int
|
|
main(void)
|
|
{
|
|
ulong x;
|
|
|
|
x = (ulong)pthread_self();
|
|
printf("%lx\n", x);
|
|
if(x < 1024*1024)
|
|
exit(1); /* NOT NPTL */
|
|
exit(0);
|
|
}
|