pike.ida.liu.se
Search for
Home > Docs > Pike reference

[Top]
System

System.seteuid()


Method seteuid

int seteuid(int euid)

Description

Set the effective user ID to euid . If euid is -1 the uid for "nobody" will be used.

Returns

Returns the current errno.

Throws

Throws an error if there is no "nobody" user when euid is -1.

Note

This function isn't available on all platforms.

Module reference for Pike v7.8 release 116, 2008-12-31