FreeBSD/usr.bin/quota/quota.c
/*
 * Print out quotas for a specified group identifier.
 */
Print out quotas for a specified group identifier.
Print out quotas for a specified group identifier .
static int
showgid(u_long gid)
{
	struct group *grp = getgrgid(gid);
	const char *name;
	if (grp == NULL)
		name = "(no entry)";
	else
		name = grp->gr_name;
	return(showquotas(GRPQUOTA, gid, name));
}
static int showgid ( u_long gid ) { struct group * grp = getgrgid ( gid ) ; const char * name ; if ( grp == NULL ) name = " " ; else name = grp -> gr_name ; return ( showquotas ( GRPQUOTA , gid , name ) ) ; }
Print out quotas for a specified group identifier.
Print out quotas for a specified group identifier .