mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Initial docs for posix_initgroups()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@236157 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
7c2c39378e
commit
e9d830823e
2 changed files with 85 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.13 $ -->
|
||||
<!-- $Revision: 1.14 $ -->
|
||||
<appendix id="migration52">
|
||||
<title>Migrating from PHP 5.1.x to PHP 5.2.x</title>
|
||||
|
||||
|
@ -953,7 +953,7 @@ $obj->getCommentName('');
|
|||
<itemizedlist>
|
||||
<listitem>
|
||||
<simpara>
|
||||
bool posix_initgroups(string name, int base_group_id)
|
||||
<function>posix-initgroups</function>
|
||||
- Calculate the group access list for the user specified in name
|
||||
</simpara>
|
||||
</listitem>
|
||||
|
|
83
reference/posix/functions/posix-initgroups.xml
Normal file
83
reference/posix/functions/posix-initgroups.xml
Normal file
|
@ -0,0 +1,83 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.1 $ -->
|
||||
<refentry id="function.posix-initgroups">
|
||||
<refnamediv>
|
||||
<refname>posix_initgroups</refname>
|
||||
<refpurpose>Calculate the group access list</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>posix_initgroups</methodname>
|
||||
<methodparam><type>string</type><parameter>name</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>base_group_id</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Calculates the group access list for the user specified in name.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>firstparameter</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The user to calculate the list for.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>base_group_id</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Typically the group number from the password file.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<simplelist>
|
||||
<member>The Unix manual page for initgroups(3).</member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"../../../../manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
Loading…
Reference in a new issue