getuid.2

来自「unix v7是最后一个广泛发布的研究型UNIX版本」· 2 代码 · 共 41 行

2
41
字号
.TH GETUID 2 .SH NAMEgetuid, getgid, geteuid, getegid \- get user and group identity.SH SYNOPSIS.B getuid( ).PP.B geteuid( ).PP.B getgid( ).PP.B getegid( ).SH DESCRIPTION.I Getuidreturns the real user ID of the current process,.I geteuidthe effective user ID.The real user ID identifies the person who is logged in,in contradistinction to the effective user ID, whichdetermines his access permission at the moment.It is thus useful to programs which operate usingthe `set user ID' mode, to find out who invoked them..PP.I Getgidreturns the real group ID,.I getegidthe effective group ID..SH "SEE ALSO"setuid(2).SH ASSEMBLER(getuid = 24.).br.B sys getuid.br(real user ID in r0, effective user ID in r1).PP(getgid = 47.).br.B sys getgid.br(real group ID in r0, effective group ID in r1)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?