Difference between revisions of "GETGID()"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
|||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
− | Function to get group identity | + | Function to get Linux group identity |
==Syntax== | ==Syntax== | ||
Line 9: | Line 9: | ||
==Description== | ==Description== | ||
− | The GETGID() function returns the group number of the user as a decimal value. | + | The GETGID() function returns the group number of the current Linux user as a decimal value. |
==Example== | ==Example== |
Revision as of 12:12, 17 December 2021
Contents
Purpose
Function to get Linux group identity
Syntax
GETGID()
See Also
ACCESS(), GETENV(), GETGRNAM(), GETPID(), GETUID(), PUTENV(), STR()
Description
The GETGID() function returns the group number of the current Linux user as a decimal value.
Example
if getgid() > 100 and getgid() < 200 //... endif