Exemplo n.º 1
0
int16_t check_and_look (int16_t *lth,LTIMG **wrddef,
                voc_state *dindict,int16_t status,int16_t incr)
{
#ifdef OVERVOC
 if(CHECKVOC)
  {
   int32_t size;
   size=read_all_file((char *)Q.temp_voc_file,V_POINT(Q.v_state.vocseg,0));
   unlink(Q.temp_voc_file);
   if ( size != -1 )
    {
     dindict->vocfree=size;
     voc_open(dindict);
    }
   else
    if ( voc_init(dindict) < 0 )
     return -3;
  }
#endif
 return(look_through_voc(lth,wrddef,dindict,status,incr,NULL));

}
Exemplo n.º 2
0
main()
{
	read_file();
	write_file("TEST");
	read_all_file();
}