func: int main() u_char * comp_dn , * comp_dn2 ; comp_dn2 = ( unsigned char * ) malloc ( 200 * sizeof ( unsigned char ) ); comp_size = dn_comp ( ( const char * ) exp_dn2 , comp_dn2 , 200 , dnptrs2 , lastdnptr ); printf ( "comp_size = %d\n" , comp_size ); printf ( "exp_dn2 = %s, comp_dn2 = %s\n" , exp_dn2 , ( char * ) comp_dn2 ); len += comp_size; for(i=0; i<comp_size; i++) * p ++ = * comp_dn2 ++; PUTLONG ( 123 , p ); p += 4; len += 4; printf ( "len = %d\n" , len ); for(i=0; i<len; i++, p++)  /* write record into file fputc(*p, f); 