In Erlang, every process has a group leader, and when a process wants to print something (i.e. it calls the io library or does something similar), it will send a message to its group leader.
My question is, where can I find the specification of these messages? Or in general, the specification of what a group leader should do?
I managed to find out with some experimenting that sometimes the process sends an {io_request, Sender, GroupLeader, Request}
term, and the answer is an {io_reply, GroupLeader, ok}
term, but there may be other cases.