Home
last modified time | relevance | path

Searched refs:stackAddress (Results 1 – 1 of 1) sorted by relevance

/haiku/src/tests/system/libroot/posix/
H A Dpthread_attr_stack_test.cpp27 void* stackAddress; in main() local
29 ret = pthread_attr_getstack(&attr, &stackAddress, &stackSize); in main()
31 printf("stackAddress: %p, stackSize: %lu\n", stackAddress, stackSize); in main()
33 ret = posix_memalign(&stackAddress, sysconf(_SC_PAGE_SIZE), in main()
36 ret = pthread_attr_setstack(&attr, stackAddress, stackSize); in main()
38 ret = pthread_attr_getstack(&attr, &stackAddress, &stackSize); in main()
40 printf("stackAddress: %p, stackSize: %lu\n", stackAddress, stackSize); in main()