]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/man/2/thread
vt: implement proper selections (thanks Ori_B)
[plan9front.git] / sys / man / 2 / thread
index 96cf1977849e2ba127995fc4c12e76366e4c3ef7..c7e6b3a1880e6d1cc4acd18d4742e8d2b9edcd3d 100644 (file)
@@ -91,14 +91,14 @@ void        threadexitsall(char *status)
 void   yield(void)
 .XX
 int    threadid(void)
-int    threadgrp(void)
+int    threadgetgrp(void)
 int    threadsetgrp(int group)
 int    threadpid(int id)
 .XX
-int    threadint(int id)
+void   threadint(int id)
 void   threadintgrp(int group)
 void   threadkill(int id)
-int    threadkillgrp(int group)
+void   threadkillgrp(int group)
 .XX
 void   threadsetname(char *name, ...)
 char*  threadgetname(void)
@@ -271,7 +271,7 @@ Each thread also has a thread group id.
 The initial thread has a group id of zero.
 Each new thread inherits the group id of
 the thread that created it.
-.I Threadgrp
+.I Threadgetgrp
 returns the group id for the current thread;
 .I threadsetgrp
 sets it.