xref: /titanic_51/usr/src/test/libc-tests/cfg/symbols/pthread_h.cfg (revision de572d98af8238405c5d1292a788b1a85b0c68eb)
1*de572d98SGarrett D'Amore#
2*de572d98SGarrett D'Amore# This file and its contents are supplied under the terms of the
3*de572d98SGarrett D'Amore# Common Development and Distribution License ("CDDL"), version 1.0.
4*de572d98SGarrett D'Amore# You may only use this file in accordance with the terms of version
5*de572d98SGarrett D'Amore# 1.0 of the CDDL.
6*de572d98SGarrett D'Amore#
7*de572d98SGarrett D'Amore# A full copy of the text of the CDDL should have accompanied this
8*de572d98SGarrett D'Amore# source.  A copy of the CDDL is also available via the Internet at
9*de572d98SGarrett D'Amore# http://www.illumos.org/license/CDDL.
10*de572d98SGarrett D'Amore#
11*de572d98SGarrett D'Amore
12*de572d98SGarrett D'Amore#
13*de572d98SGarrett D'Amore# Copyright 2015 Garrett D'Amore <garrett@damore.org>
14*de572d98SGarrett D'Amore#
15*de572d98SGarrett D'Amore
16*de572d98SGarrett D'Amore#
17*de572d98SGarrett D'Amore# Definitions found in pthread.h
18*de572d98SGarrett D'Amore#
19*de572d98SGarrett D'Amore# Note that this header is not defined prior to the POSIX 1995 & SUSv2
20*de572d98SGarrett D'Amore# specifications.  Therefore, applications which #include it in earlier
21*de572d98SGarrett D'Amore# environments may reasonably obtain their contents, although such use
22*de572d98SGarrett D'Amore# would not be conformant to those specifications.
23*de572d98SGarrett D'Amore#
24*de572d98SGarrett D'Amore# As a result, we only test the newer specifications.
25*de572d98SGarrett D'Amore#
26*de572d98SGarrett D'Amore
27*de572d98SGarrett D'Amore#
28*de572d98SGarrett D'Amore# Types.
29*de572d98SGarrett D'Amore#
30*de572d98SGarrett D'Amoretype |	pthread_t *	| pthread.h | POSIX-1995+ SUSv2+
31*de572d98SGarrett D'Amore
32*de572d98SGarrett D'Amore#
33*de572d98SGarrett D'Amore# Values.
34*de572d98SGarrett D'Amore#
35*de572d98SGarrett D'Amorevalue |	PTHREAD_SCOPE_PROCESS	| int	| pthread.h | POSIX-1995+ SUSv2+
36*de572d98SGarrett D'Amorevalue |	PTHREAD_SCOPE_SYSTEM	| int	| pthread.h | POSIX-1995+ SUSv2+
37*de572d98SGarrett D'Amore
38*de572d98SGarrett D'Amore#
39*de572d98SGarrett D'Amore# Functions
40*de572d98SGarrett D'Amore#
41*de572d98SGarrett D'Amorefunc |	pthread_create							|\
42*de572d98SGarrett D'Amore	int								|\
43*de572d98SGarrett D'Amore	pthread_t *; const pthread_attr_t *; void *(*)(void *); void *	|\
44*de572d98SGarrett D'Amore	pthread.h							|\
45*de572d98SGarrett D'Amore	POSIX-1995+ SUSv2+
46*de572d98SGarrett D'Amore
47*de572d98SGarrett D'Amorefunc |	pthread_self							|\
48*de572d98SGarrett D'Amore	pthread_t							|\
49*de572d98SGarrett D'Amore	void								|\
50*de572d98SGarrett D'Amore	pthread.h							|\
51*de572d98SGarrett D'Amore	POSIX-1995+ SUSv2+
52*de572d98SGarrett D'Amore
53*de572d98SGarrett D'Amorefunc |	pthread_attr_getscope						|\
54*de572d98SGarrett D'Amore	int								|\
55*de572d98SGarrett D'Amore	const pthread_attr_t *; int *					|\
56*de572d98SGarrett D'Amore	pthread.h							|\
57*de572d98SGarrett D'Amore	POSIX-1995+ SUSv2+
58*de572d98SGarrett D'Amore
59*de572d98SGarrett D'Amorefunc |	pthread_attr_setscope						|\
60*de572d98SGarrett D'Amore	int								|\
61*de572d98SGarrett D'Amore	pthread_attr_t *; int						|\
62*de572d98SGarrett D'Amore	pthread.h							|\
63*de572d98SGarrett D'Amore	POSIX-1995+ SUSv2+
64