mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 22:30:31 +00:00
Add man pages for seteuid() and friends.
Also add an overview page that explains the general concepts.
This commit is contained in:
parent
9b4e6f6a23
commit
1f323076f0
Notes:
sideshowbarker
2024-07-19 05:12:34 +09:00
Author: https://github.com/nico
Commit: 1f323076f0
Pull-request: https://github.com/SerenityOS/serenity/pull/2670
Reviewed-by: https://github.com/bugaevc
13 changed files with 273 additions and 0 deletions
25
Base/usr/share/man/man2/getuid.md
Normal file
25
Base/usr/share/man/man2/getuid.md
Normal file
|
@ -0,0 +1,25 @@
|
|||
## Name
|
||||
|
||||
getuid, getgid - get real user / group id
|
||||
|
||||
## Synopsis
|
||||
|
||||
```**c++
|
||||
#include <unistd.h>
|
||||
|
||||
uid_t getuid(void);
|
||||
gid_t getgid(void);
|
||||
```
|
||||
|
||||
## Description
|
||||
|
||||
Returns the real user or group id.
|
||||
|
||||
## See also
|
||||
|
||||
* [`setuid_overview`(7)](../man7/setuid_overview.md)
|
||||
* [`geteuid`(2) / `getegid`(2)](geteuid.md)
|
||||
* [`getresuid`(2) / `getresgid`(2)](getresuid.md)
|
||||
* [`seteuid`(2) / `setegid`(2)](seteuid.md)
|
||||
* [`setuid`(2) / `setgid`(2)](setuid.md)
|
||||
* [`setresuid`(2) / `setresgid`(2)](setresuid.md)
|
Loading…
Add table
Add a link
Reference in a new issue