aboutsummaryrefslogtreecommitdiffstats
path: root/man3/pthread_create.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/pthread_create.3')
-rw-r--r--man3/pthread_create.36
1 files changed, 3 insertions, 3 deletions
diff --git a/man3/pthread_create.3 b/man3/pthread_create.3
index f222e5f35c..7c95b3ab7e 100644
--- a/man3/pthread_create.3
+++ b/man3/pthread_create.3
@@ -266,13 +266,13 @@ Joined with thread 3; returned value was SERVUS
\&
.\" SRC BEGIN (pthread_create.c)
.EX
+#include <ctype.h>
+#include <errno.h>
#include <pthread.h>
-#include <string.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
-#include <errno.h>
-#include <ctype.h>
#define handle_error_en(en, msg) \e
do { errno = en; perror(msg); exit(EXIT_FAILURE); } while (0)