getuid.2
来自「UNIX v6源代码 这几乎是最经典的unix版本 unix操作系统设计和莱」· 2 代码 · 共 30 行
2
30 行
.th GETUID II 5/15/74.sh NAMEgetuid \*- get user identifications.sh SYNOPSIS(getuid = 24.).br.ft Bsys getuid.ft B.s3getuid( ).ft R.sh DESCRIPTION.it Getuidreturns a word (in r0),the low byte of which containsthe real user ID ofthe current process.The high byte contains the effective user IDof the current process.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..sh "SEE ALSO"setuid (II).sh DIAGNOSTICS\*-
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?