contents index previous next
Unix.setuid()
syntax:
Unix.setuid(id)
where:
id - user id to set.
return:
number - 0 for success, -1 for error.
description:
Changes the user ID to the given ID, if allowed.
see:
Unix.setgid()
Unix.wait()