mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-04 18:23:39 +00:00
Problem: - C functions with no arguments require a single `void` in the argument list. Solution: - Put the `void` in the argument list of functions in C header files.
25 lines
487 B
Markdown
25 lines
487 B
Markdown
## 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)
|