time-to-botec/js/node_modules/@stdlib/process/getgid
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00
..
docs feat: add the node modules 2022-12-03 12:44:49 +00:00
lib feat: add the node modules 2022-12-03 12:44:49 +00:00
package.json feat: add the node modules 2022-12-03 12:44:49 +00:00
README.md feat: add the node modules 2022-12-03 12:44:49 +00:00

getgid

Return the numeric group identity of the calling process.

Usage

var getgid = require( '@stdlib/process/getgid' );

getgid()

Returns the numeric group identity of the calling process.

var id = getgid();

Notes

  • The function only returns an integer group identity on POSIX platforms. For all other platforms (e.g., Windows, browsers, and Android), the function returns null.
  • See getgid(2).

Examples

var getgid = require( '@stdlib/process/getgid' );

var gid = getgid();
console.log( 'gid: %d', gid );