Query: getlcid
OS: osx
Section: 2
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
GETLCID(2) BSD System Calls Manual GETLCID(2)NAMEgetlcid -- get login contextSYNOPSIS#include <sys/lctx.h> pid_t getlcid(pid_t pid);DESCRIPTIONThe login context of the process identified by pid is returned by getlcid(). If pid is zero, getlcid() returns the login context of the cur- rent process. Login contexts are used for tracking processes that originated from a users login session. A login context is inherited via fork() or by explicit creation using the setlcid() call.RETURN VALUESIf successful, getlcid() returns a non-negative integer, the Login Context ID; otherwise the value -1 is returned and the global variable errno is set to indicate the error.ERRORSThe getlcid() function will fail if: [EPERM] Operation not permitted. [ESRCH] No such process. [ENOATTR] Attribute not found.SEE ALSOsetlcid(2)HISTORYThe getlcid manual page first appeared in FreeBSD 6.0.AUTHORSThis manual page was written by Matthew N. Dodd <mdodd@FreeBSD.org>.BSDMay 5, 2005 BSD
Related Man Pages |
---|
getsid(2) - sunos |
sd_pid_get_unit(3) - debian |
sd_pid_get_owner_uid(3) - debian |
getsid(2) - osx |
getsid(2) - freebsd |
Similar Topics in the Unix Linux Community |
---|
AIX Links |
Mac OS X: Based on UNIX - Solid As a Rock |
When is a _function_ not a _function_? |
Shopt -s histappend |
My first PERL incarnation... Audio Oscillograph |