Re: question about mgetgroups()
On 05/26/2014 09:00 PM, Denis Excoffier wrote: > Hello, > > In mgetgroups.c, you can read the following piece of code: > > -- > if (username) > { > enum { N_GROUPS_INIT = 10 }; > max_n_groups = N_GROUPS_INIT; > > g = realloc_groupbuf
question about mgetgroups()
Hello, In mgetgroups.c, you can read the following piece of code: -- if (username) { enum { N_GROUPS_INIT = 10 }; max_n_groups = N_GROUPS_INIT; g = realloc_groupbuf (NULL, max_n_groups); if (g == NULL) return -1; while