/* This function writes a PDF xref table to output.  */
tsize_t t2p_write_pdf_xreftable(T2P *, TIFF *)
/* This function writes a PDF xref table to output.  */
tsize_t t2p_write_pdf_xreftable(T2P *, TIFF *)
{
		snprintf(buffer, sizeof(buffer), "%.10lu 00000 n \n",
			(unsigned long)t2p->pdf_xrefoffsets[i]);
		written += t2pWriteFile(output, (tdata_t) buffer, 20);
	}
	return(written);
}