ref: 333468d668d5079bcf7651d4e25d688b6e7a833e
parent: b21fe017d1b80b3db5ac92568e28f670efad2509
author: cinap_lenrek <[email protected]>
date: Sat Aug 6 11:09:18 EDT 2016
thread(2): threadgrp() -> threadgetgrp(), thanks jpm
--- a/sys/man/2/thread
+++ b/sys/man/2/thread
@@ -91,7 +91,7 @@
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 @@
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.