Example #1
0
/* Compatibility */
int SLang_init_slunix (void)
{
   if ((-1 == SLang_init_posix_dir ())
       || (-1 == SLang_init_posix_process ())
       || (-1 == SLdefine_for_ifdef ("__SLUNIX__")))
     return -1;

   return 0;
}
Example #2
0
int SLang_init_all (void)
{
   if ((-1 == SLang_init_slang ())
#if SLANG_HAS_FLOAT
       || (-1 == SLang_init_slmath ())
#endif
       || (-1 == SLang_init_posix_dir ())
       || (-1 == SLang_init_posix_process ())
       || (-1 == SLang_init_stdio ())
       || (-1 == SLang_init_array ())
       || (-1 == SLang_init_posix_io ())
       || (-1 == SLang_init_signal ())
       || (-1 == SLang_init_ospath ())
       )
     return -1;

   return 0;
}