Index Click this button to go to the index for this section.


_sia_isagroup(3)

NAME

_sia_isagroup - checks a list of known groups to determine if a given groups already exists SIA (Security Integration Architecture)

LIBRARY

Standard C library (libc.so and libc.a)

SYNOPSIS

#include <sia.h> #include <siad.h> int _sia_isagroup( gid_t group gid_t *list int ngroups)

PARAMETERS

group Group ID to check for membership in the list. list Array of group IDs that is already known. ngroups Number if elements in list to scan.

DESCRIPTION

_sia_isagroup is a utility routine for the sia_get_groups() routines to determine whether a given group is already in the known list of groups.

RETURN VALUES

This routine returns a 1 if the group is already in the list and a zero if it is not.

FILES

/etc/sia/matrix.conf

RELATED INFORMATION

getgrent(3), matrix.conf(4), initgroups(3), siad_get_groups(3) _sia_isagroup(3) Security