summaryrefslogtreecommitdiff
path: root/sys/man
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2016-08-06 15:09:18 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2016-08-06 15:09:18 +0200
commit333468d668d5079bcf7651d4e25d688b6e7a833e (patch)
tree39d4a979feb8551a067ce7f743f499faade6e8ff /sys/man
parentb21fe017d1b80b3db5ac92568e28f670efad2509 (diff)
thread(2): threadgrp() -> threadgetgrp(), thanks jpm
Diffstat (limited to 'sys/man')
-rw-r--r--sys/man/2/thread4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/man/2/thread b/sys/man/2/thread
index 90b3a6f45..c7e6b3a18 100644
--- a/sys/man/2/thread
+++ b/sys/man/2/thread
@@ -91,7 +91,7 @@ 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
@@ -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.