Difference between revisions of "GETGID()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Yvonne.milne (Talk | contribs) |
||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Function to get group identity | Function to get group identity | ||
− | |||
==Syntax== | ==Syntax== | ||
GETGID() | GETGID() | ||
− | |||
==See Also== | ==See Also== | ||
− | [[ACCESS()]], [[CREATE]], [[GETENV()]], [[GETGRNAM()]], [[GETPID()]], [[GETUID() | + | [[ACCESS()]], [[CREATE]], [[GETENV()]], [[GETGRNAM()]], [[GETPID()]], [[GETUID()]], [[PUTENV()]], [[STR()]] |
− | + | ||
==Description== | ==Description== | ||
− | The GETGID() function returns the group number of the user | + | The GETGID() function returns the group number of the user as a decimal value. |
− | + | ||
− | + | ||
− | + | ||
==Example== | ==Example== | ||
<code lang="recital"> | <code lang="recital"> | ||
− | + | if getgid() > 100 and getgid() < 200 | |
− | + | //... | |
− | + | endif | |
− | + | ||
− | + | ||
</code> | </code> | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Environment]] | [[Category:Environment]] | ||
[[Category:Environment Functions]] | [[Category:Environment Functions]] |
Revision as of 10:24, 9 February 2012
Contents
Purpose
Function to get group identity
Syntax
GETGID()
See Also
ACCESS(), CREATE, GETENV(), GETGRNAM(), GETPID(), GETUID(), PUTENV(), STR()
Description
The GETGID() function returns the group number of the user as a decimal value.
Example
if getgid() > 100 and getgid() < 200 //... endif