[erlang-bugs] Documentation of group_leader seems to be wrong

John Hughes john.hughes@REDACTED
Tue Mar 3 17:44:55 CET 2009


The documentation of group_leader/2 says:

group_leader(GroupLeader, Pid) -> true


Types:

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.

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20090303/0ec7a26c/attachment.htm>


More information about the erlang-bugs mailing list