# getegid
> Return the effective numeric group identity of the calling process.
## Usage
```javascript
var getegid = require( '@stdlib/process/getegid' );
```
#### getegid()
Returns the effective numeric group identity of the calling process.
```javascript
var id = getegid();
```
## 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 [getegid(2)][getegid].
## Examples
```javascript
var getegid = require( '@stdlib/process/getegid' );
var gid = getegid();
console.log( 'gid: %d', gid );
```
[getegid]: http://man7.org/linux/man-pages/man2/getegid.2.html