Set the real user ID of the current process. This is a privileged
function that needs appropriate privileges (usually root) on
the system to be able to perform this function.
Список параметров
uid
The user id.
Возвращаемые значения
Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.
Примеры
Пример #1 posix_setuid() example
This example will show the current user id and then set
it to a different value.