---
name: "Cgrp"
section: "3"
platform: "linux"
package: "liblcgdm-dev"
version: "1.10.0-2+b3"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/Cgrp"
---

# Cgrp(3)

LCG Group file Thread-Safe inferface

## NAME

**Cgrp** - **LCG** **Gr**ou**p** file Thread-Safe inferface

## SYNOPSIS

**#include \<Cgrp.h\>**

**struct group \*Cgetgrnam(char \****name***);**

**struct group \*Cgetgrgid(gid\_t** *gid***);**

## ERRORS

If the **Cthread** interface is chosen and activated, the errors value are in the **serrno** variable.

## DESCRIPTION

**Cgrp** is a common Thread-Safe API interface to get entries in the group file vs. **name** or **gid.**

## SEE ALSO

**serrno**, **getgrnam**, **getgrgid**

## AUTHOR

**LCG Grid Deployment** Team
