add: setuid function has been added.
add: seteuid function has been added.
add: setgid function has been added.
add: setegid function has been added.
change: order of function declaration has changed, and some comments has been added.