summaryrefslogtreecommitdiff
path: root/usr/src/head/pthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/head/pthread.h')
-rw-r--r--usr/src/head/pthread.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/usr/src/head/pthread.h b/usr/src/head/pthread.h
index 8b1bddfa7c..5fe007bf90 100644
--- a/usr/src/head/pthread.h
+++ b/usr/src/head/pthread.h
@@ -21,6 +21,7 @@
/*
* Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ * Copyright 2016 Joyent, Inc.
*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
@@ -337,6 +338,14 @@ extern int pthread_mutexattr_setrobust_np(pthread_mutexattr_t *, int);
extern int pthread_mutexattr_getrobust_np(
const pthread_mutexattr_t *_RESTRICT_KYWD, int *_RESTRICT_KYWD);
+/*
+ * These are non-standardized extensions that we provide. Their origins are
+ * documented in their manual pages.
+ */
+#if !defined(_STRICT_SYMBOLS) || defined(__EXTENSIONS__)
+extern int pthread_attr_get_np(pthread_t, pthread_attr_t *);
+#endif /* !_STRICT_SYMBOLS || __EXTENSIONS__ */
+
#endif /* _ASM */
#ifdef __cplusplus