mirror of
https://github.com/fluencelabs/musl
synced 2025-06-29 22:51:55 +00:00
initial check-in, version 0.5.0
This commit is contained in:
7
src/thread/pthread_attr_getstacksize.c
Normal file
7
src/thread/pthread_attr_getstacksize.c
Normal file
@ -0,0 +1,7 @@
|
||||
#include "pthread_impl.h"
|
||||
|
||||
int pthread_attr_getstacksize(pthread_attr_t *a, size_t *size)
|
||||
{
|
||||
*size = a->__stacksize + DEFAULT_STACK_SIZE;
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user