예제 #1
0
파일: Pthread.c 프로젝트: icanhas/libccco
void
_stlrand(ulong seed)
{
	Thread *t;
	
	t = (Thread*)pthread_getspecific(tlskey);
	assert(t != nil);
	_srand(&t->r, seed);
}
예제 #2
0
파일: wrappers.c 프로젝트: emlyn/chdk
void *srand(unsigned int seed) {
    return _srand(seed);
}