Return the effective numeric group identity of the calling process.
var getegid = require( '@stdlib/process/getegid' );Returns the effective numeric group identity of the calling process.
var id = getegid();- The function only returns an
integergroup identity on POSIX platforms. For all other platforms (e.g., Windows, browsers, and Android), the function returnsnull. - See getegid(2).
var getegid = require( '@stdlib/process/getegid' );
var gid = getegid();
console.log( 'gid: %d', gid );@stdlib/process/geteuid: return the effective numeric user identity of a calling process.@stdlib/process/getgid: return the numeric group identity of a calling process.@stdlib/process/getuid: return the numeric user identity of a calling process.