int getgrgid_r( gid_t gid, struct group *grp, char *buffer, size_t bufsize, struct group **result ) { return getgr_r(NULL, gid, grp, buffer, bufsize, result); }
int getgrnam_r( const char *name, struct group *grp, char *buffer, size_t bufsize, struct group **result ) { return getgr_r(name, 0, grp, buffer, bufsize, result); }
int getgrgid_r(gid_t gid, struct group *gr, char *buf, size_t size, struct group **res) { return getgr_r(0, gid, gr, buf, size, res); }
int getgrnam_r(const char *name, struct group *gr, char *buf, size_t size, struct group **res) { return getgr_r(name, 0, gr, buf, size, res); }