add directory study

This commit is contained in:
gohigh
2024-02-19 00:25:23 -05:00
parent b1306b38b1
commit f3774e2f8c
4001 changed files with 2285787 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
<html><!-- This HTML file has been created by texi2html 1.29
from syscalls.texi on 4 June 1994 -->
<TITLE>Syscall specifications of Linux - getegid</TITLE>
<P>Go to the <A HREF="syscalls_59.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_59.html">previous</A>, <A HREF="syscalls_61.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_61.html">next</A> section.<P>
<H2><A NAME="SEC60" HREF="syscalls_toc.html#SEC60" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_toc.html#SEC60">getegid and getgid</A></H2>
<P>
<H3>SYNOPSIS</H3>
<P>
<CODE>gid_t getgid(void);</CODE>
<P>
<CODE>gid_t getegid(void);</CODE>
<P>
<H3>DESCRIPTION</H3>
<P>
<CODE>getgid</CODE> returns the real gid of the current task. <CODE>getegid</CODE>
returns the effective gid of the current task. The real gid is the gid
of the user that started the task, the effective gid, on the other hand,
is the gid of the executable file if the sgid bit is set.
<P>
<H3>RETURN VALUE</H3>
<P>
<CODE>getgid</CODE>: the real gid.
<P>
<CODE>getegid</CODE>: the effective gid.
<P>
<P>Go to the <A HREF="syscalls_59.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_59.html">previous</A>, <A HREF="syscalls_61.html" tppabs="http://www.infran.ru/TechInfo/syscalls/syscalls_61.html">next</A> section.<P>