summaryrefslogtreecommitdiff
path: root/src/libnsss/nsss_unix_setgrent.c
blob: e01744f3f173d75217e0003c7746c1e499f77ec7 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* ISC license. */

#include <nsss/grp-unix.h>
#include <nsss/nsss-unix.h>
#include "nsss-unix-internal.h"

void nsss_unix_setgrent (void)
{
  if (!nsss_unix_grp_maybe_start(&nsss_unix_grp_here)) return ;
  nsss_unix_grp_rewind(&nsss_unix_grp_here) ;
}