FreeBSD/usr.bin/quota/quota.c
/*
 * Print out quotas for a specified user identifier.
 */
Print out quotas for a specified user identifier.
Print out quotas for a specified user identifier .
static int
showuid(u_long uid)
{
	struct passwd *pwd = getpwuid(uid);
	const char *name;
	if (pwd == NULL)
		name = "(no account)";
	else
		name = pwd->pw_name;
	return(showquotas(USRQUOTA, uid, name));
}
static int showuid ( u_long uid ) { struct passwd * pwd = getpwuid ( uid ) ; const char * name ; if ( pwd == NULL ) name = " " ; else name = pwd -> pw_name ; return ( showquotas ( USRQUOTA , uid , name ) ) ; }
Print out quotas for a specified user identifier.
Print out quotas for a specified user identifier .