From bba62a80636eb9afaa70f5112e1e92a9bec5f952 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Sat, 10 Jan 1998 18:08:36 +0100 Subject: [PATCH] Added docs for getgroups() and setgroups(). Rev: tutorial/tutorial.wmml:1.63 --- tutorial/tutorial.wmml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/tutorial/tutorial.wmml b/tutorial/tutorial.wmml index ed47c1141e..e1b9a9d503 100644 --- a/tutorial/tutorial.wmml +++ b/tutorial/tutorial.wmml @@ -5376,6 +5376,20 @@ setuid, getuid, setgid, seteuid, geteuid, setegid, getegid <hr noshade size=1> +<function name=getgroups title="get the supplemental group access list" fullpath> +<man_syntax> +array(int) getgroups();<br> +</man_syntax> +<man_description> +Get the current supplemental group access list for this process. +</man_description> +<man_see> +initgroups, setgroups, getgid, setgid, getegid, setegid +</man_see> +</function> + +<hr noshade size=1> + <function name=gethostbyaddr title="gets information about a host given its address" fullpath> <man_syntax> array gethostbyaddr(string <I>addr</I>);<br> @@ -5627,6 +5641,20 @@ setuid, getuid, getgid, seteuid, geteuid, setegid, getegid <hr noshade size=1> +<function name=setgroups title="set the supplemental group access list" fullpath> +<man_syntax> +void getgroups(array(int) gids);<br> +</man_syntax> +<man_description> +Set the supplemental group access list for this process. +</man_description> +<man_see> +initgroups, getgroups, getgid, setgid, getegid, setegid +</man_see> +</function> + +<hr noshade size=1> + <function name=setuid title="set the user ID" fullpath> <man_syntax> void setuid(int <I>uid</I>);<br> -- GitLab