⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 getuid.2

📁 Unix操作系统minix 2.0源码
💻 2
字号:
.\" Copyright (c) 1980 Regents of the University of California..\" All rights reserved.  The Berkeley software License Agreement.\" specifies the terms and conditions for redistribution..\".\"	@(#)getuid.2	6.3 (Berkeley) 1/7/86.\".TH GETUID 2 "January 7, 1986".UC 4.SH NAMEgetuid, geteuid \- get user identity.SH SYNOPSIS.nf.ft B#include <sys/types.h>#include <unistd.h>uid_t getuid(void)uid_t geteuid(void).fi.SH DESCRIPTION.B Getuidreturns the real user ID of the current process,.B geteuidthe effective user ID..PPThe real user ID identifies the person who is logged in.The effective user IDgives the process additional permissions duringexecution of \*(lqset-user-ID\*(rq mode processes, which use\fBgetuid\fP to determine the real-user-id of the process thatinvoked them..SH "SEE ALSO".BR getgid (2),.BR setuid (2).

⌨️ 快捷键说明

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