Add doc for setres([ug])id/getres([ug])id
Namespace functions callable from erlang