*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: setluid | Section: 3 | Source: Digital UNIX | File: setluid.3.gz
getluid(3) Library Functions Manual getluid(3) NAME getluid, setluid - Get or set the login UID (Enhanced Security) LIBRARY Security Library - libsecurity.a and libsecurity.so SYNOPSIS #include <prot.h> uid_t getluid(); #include <prot.h> int setluid(uid); PARAMETERS uid An integer representing the user ID being requested. DESCRIPTION The function gets the system's the login UID associated with the process. If it has not been set yet, return an error. The function sets the system's login UID for this process and all its descendants. Once set, it cannot be reset. RETURN VALUES The function returns the actual UID on success and a -1 for failure. The function returns 0 for success and -1 for failure. RELATED INFORMATION Security delim off getluid(3)

Navigation Options