rem: int len;
context: int start_xpidf_doc(str* _b, int _l){	int len;	if ((XML_VERSION_LEN + 2 +	     DOCTYPE_LEN + 2 +	     PRESENCE_STAG_LEN + 2) > _l) {		paerrno = PA_SMALL_BUFFER;		LOG(L_ERR, "start_xpidf_doc(): Buffer too small\n");		return -1;	}	memcpy(_b->s + _b->len, XML_VERSION CRLF DOCTYPE CRLF PRESENCE_STAG CRLF,	       XML_VERSION_LEN + 2 + DOCTYPE_LEN + 2 + PRESENCE_STAG_LEN + 2);	_b->len += XML_VERSION_LEN + 2 + DOCTYPE_LEN + 2 + PRESENCE_STAG_LEN + 2;	return 0;}