Movatterモバイル変換


[0]ホーム

URL:


variables /$(
(source,CPAN)
#$REAL_GROUP_ID
#$GID
#$(

The real gid of this process. If you are on a machine that supports membership in multiple groups simultaneously, gives a space separated list of groups you are in. The first number is the one returned bygetgid(), and the subsequent ones bygetgroups(), one of which may be the same as the first number.

However, a value assigned to$( must be a single number used to set the real gid. So the value given by$( shouldnot be assigned back to$( without being forced numeric, such as by adding zero. Note that this is different to the effective gid ($)) which does take a list.

You can change both the real gid and the effective gid at the same time by usingPOSIX::setgid(). Changes to$( require a check to$! to detect any possible errors after an attempted change.

Mnemonic: parentheses are used togroup things. The real gid is the group youleft, if you're running setgid.

Perldoc Browser is maintained by Dan Book (DBOOK). Please contact him via theGitHub issue tracker oremail regarding any issues with the site itself, search, or rendering of documentation.

The Perl documentation is maintained by the Perl 5 Porters in the development of Perl. Please contact them via thePerl issue tracker, themailing list, orIRC to report any issues with the contents or format of the documentation.


[8]ページ先頭

©2009-2025 Movatter.jp