8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / test / libc-tests / cfg / symbols / pthread_h.cfg
blobc5ba1bc12e39ead1916148baffa471d67f92ea3a
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source.  A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2015 Garrett D'Amore <garrett@damore.org>
17 # Definitions found in pthread.h
19 # Note that this header is not defined prior to the POSIX 1995 & SUSv2
20 # specifications.  Therefore, applications which #include it in earlier
21 # environments may reasonably obtain their contents, although such use
22 # would not be conformant to those specifications.
24 # As a result, we only test the newer specifications.
28 # Types.
30 type |  pthread_t *     | pthread.h | POSIX-1995+ SUSv2+
33 # Values.
35 value | PTHREAD_SCOPE_PROCESS   | int   | pthread.h | POSIX-1995+ SUSv2+
36 value | PTHREAD_SCOPE_SYSTEM    | int   | pthread.h | POSIX-1995+ SUSv2+
39 # Functions
41 func |  pthread_create                                                  |\
42         int                                                             |\
43         pthread_t *; const pthread_attr_t *; void *(*)(void *); void *  |\
44         pthread.h                                                       |\
45         POSIX-1995+ SUSv2+
47 func |  pthread_self                                                    |\
48         pthread_t                                                       |\
49         void                                                            |\
50         pthread.h                                                       |\
51         POSIX-1995+ SUSv2+
53 func |  pthread_attr_getscope                                           |\
54         int                                                             |\
55         const pthread_attr_t *; int *                                   |\
56         pthread.h                                                       |\
57         POSIX-1995+ SUSv2+
59 func |  pthread_attr_setscope                                           |\
60         int                                                             |\
61         pthread_attr_t *; int                                           |\
62         pthread.h                                                       |\
63         POSIX-1995+ SUSv2+