Index Index for
Section 3
Index Alphabetical
listing for
Special
Characters
Bottom of page Bottom of
page

__sia_isagroup(3)

NAME

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

SYNOPSIS

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

LIBRARY

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

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

SEE ALSO

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

Index Index for
Section 3
Index Alphabetical
listing for
Special
Characters
Top of page Top of
page