[erlang-bugs] Documentation of group_leader seems to be wrong
Tue Mar 3 17:44:55 CET 2009
The documentation of group_leader/2 says:
group_leader(GroupLeader, Pid) -> true
GroupLeader = Pid = pid()
Sets the group leader of Pid to GroupLeader. Typically, this is used when a processes started from a certain shell should have another group leader than init.
As far as I can tell by experiment, though, the arguments are the other way around. I've checked this on the online documentation, as well as that documentation that came with R12-B.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-bugs