Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ seteuid(SLIB) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

setregid(SSC)

setreuid(SSC)

getgid(S)

getuid(S)


 seteuid(SLIB)                  6 January 1993                  seteuid(SLIB)


 Name

    seteuid, setegid - set user and group ID

 Syntax


    seteuid(euid)

    setegid(egid)


 Description

    seteuid (setegid) sets the effective user ID (group ID) of the current
    process.

    These calls are only permitted to the super-user or if the argument is
    the real or effective ID.

 Diagnostics

    Zero is returned if the user (group) ID is set; -1 is returned otherwise,
    with the global variable errno set as for setreuid or setregid.

 See also

    setregid(SSC), setreuid(SSC), getgid(S) and getuid(S).


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026