OSDN Git Service

Update release for LDP 3.67
[linuxjm/LDP_man-pages.git] / release / man3 / pthread_create.3
index a6fa890..61fc88e 100644 (file)
@@ -1,6 +1,7 @@
 .\" Copyright (c) 2008 Linux Foundation, written by Michael Kerrisk
 .\"     <mtk.manpages@gmail.com>
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
 .\"
 .\"*******************************************************************
 .\"
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
-.TH PTHREAD_CREATE 3 2012\-03\-15 Linux "Linux Programmer's Manual"
+.\"
+.\" Japanese Version Copyright (c) 2012  Akihiro MOTOKI
+.\"         all rights reserved.
+.\" Translated 2012-05-04, Akihiro MOTOKI <amotoki@gmail.com>
+.\"
+.TH PTHREAD_CREATE 3 2012\-08\-03 Linux "Linux Programmer's Manual"
 .SH 名前
 pthread_create \- 新しいスレッドを作成する
 .SH 書式
@@ -157,7 +164,7 @@ pthreads API の他のいろいろな関数の使用例を示している。
 .in +4n
 .nf
 $\fB ulimit \-s\fP
-8192            # The stack size limit is 8 MB (0x80000 bytes)
+8192            # The stack size limit is 8 MB (0x800000 bytes)
 $\fB ./a.out hola salut servus\fP
 Thread 1: top of stack near 0xb7dd03b8; argv_string=hola
 Thread 2: top of stack near 0xb75cf3b8; argv_string=salut
@@ -212,7 +219,7 @@ struct thread_info {    /* Used as argument to thread_start() */
 static void *
 thread_start(void *arg)
 {
-    struct thread_info *tinfo = (struct thread_info *) arg;
+    struct thread_info *tinfo = arg;
     char *uargv, *p;
 
     printf("Thread %d: top of stack near %p; argv_string=%s\en",
@@ -312,11 +319,13 @@ main(int argc, char *argv[])
 }
 .fi
 .SH 関連項目
+.ad l
+.nh
 \fBgetrlimit\fP(2), \fBpthread_attr_init\fP(3), \fBpthread_cancel\fP(3),
 \fBpthread_detach\fP(3), \fBpthread_equal\fP(3), \fBpthread_exit\fP(3),
 \fBpthread_getattr_np\fP(3), \fBpthread_join\fP(3), \fBpthread_self\fP(3),
 \fBpthreads\fP(7)
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.40 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.67 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。