<unistd.h>: Add more comments to options.
authorSascha Wildner <saw@online.de>
Tue, 5 Jul 2016 21:09:47 +0000 (23:09 +0200)
committerSascha Wildner <saw@online.de>
Tue, 5 Jul 2016 21:09:47 +0000 (23:09 +0200)
include/unistd.h

index f6fa678..13013d7 100644 (file)
@@ -100,18 +100,18 @@ typedef   __uint32_t      uid_t;          /* XXX __uid_t */
 #define        _POSIX_READER_WRITER_LOCKS      200112L
 #define        _POSIX_REGEXP                   1       /* mandatory */
 #define        _POSIX_SHELL                    1       /* mandatory */
-#define        _POSIX_SPAWN                    200112L
-#define        _POSIX_THREAD_ATTR_STACKADDR    200112L
-#define        _POSIX_THREAD_ATTR_STACKSIZE    200112L
-#define        _POSIX_THREAD_CPUTIME           -1
+#define        _POSIX_SPAWN                    200112L /* [SPN] */
+#define        _POSIX_THREAD_ATTR_STACKADDR    200112L /* [TSA] */
+#define        _POSIX_THREAD_ATTR_STACKSIZE    200112L /* [TSS] */
+#define        _POSIX_THREAD_CPUTIME           -1      /* [TCT] */
 #define        _POSIX_THREAD_PRIO_INHERIT      200112L /* [TPI] */
 #define        _POSIX_THREAD_PRIO_PROTECT      200112L /* [TPP] */
-#define        _POSIX_THREAD_PRIORITY_SCHEDULING 200112L
-#define        _POSIX_THREAD_PROCESS_SHARED    -1
+#define        _POSIX_THREAD_PRIORITY_SCHEDULING 200112L /* [TPS] */
+#define        _POSIX_THREAD_PROCESS_SHARED    -1      /* [TSH] */
 #define        _POSIX_THREAD_ROBUST_PRIO_INHERIT -1    /* [RPI] */
 #define        _POSIX_THREAD_ROBUST_PRIO_PROTECT -1    /* [RPP] */
 #define        _POSIX_THREAD_SAFE_FUNCTIONS    -1
-#define        _POSIX_THREAD_SPORADIC_SERVER   -1
+#define        _POSIX_THREAD_SPORADIC_SERVER   -1      /* [TSP] */
 #define        _POSIX_THREADS                  200112L
 #define        _POSIX_TRACE                    -1      /* [TRC] obsolescent */
 #define        _POSIX_TRACE_EVENT_FILTER       -1      /* [TEF] obsolescent */