Blob Blame History Raw
char *
print_off(lf, ty)
	struct lfile *lf;		/* file whose size is to be printed */
	int ty;				/* format type: 0 == 0t<decimal>
					 *		1 == 0x<hexadecimal> */
{
	static buf[128];

	if (!ty)
	    (void) sprintf(buf, SzOffFmt_0t, lf->off);
	else 
	    (void) sprintf(buf, SzOffFmt_x, lf->off);
	return(buf);

}


char *
print_sz(lf)
	struct lfile *lf;		/* file whose size is to be printed */
{
	static buf[128];

	(void) sprintf(buf, SzOffFmt_d, lf->sz);
	return(buf);
}