xref: /haiku/headers/compatibility/bsd/pthread.h (revision 445d4fd926c569e7b9ae28017da86280aaecbae2)
1 /*
2  * Copyright 2023 Haiku, Inc. All Rights Reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef _BSD_PTHREAD_H_
6 #define _BSD_PTHREAD_H_
7 
8 
9 #include_next <pthread.h>
10 #include <features.h>
11 
12 
13 #ifdef _DEFAULT_SOURCE
14 
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
20 
21 extern int pthread_attr_get_np(pthread_t thread, pthread_attr_t* attr);
22 
23 
24 #ifdef __cplusplus
25 }
26 #endif
27 
28 
29 #endif
30 
31 
32 #endif	/* _BSD_PTHREAD_H_ */
33 
34