Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
  2. #ifndef __dj_include_libc_internal_h__
  3. #define __dj_include_libc_internal_h__
  4.  
  5. #ifdef __cplusplus
  6. extern "C" {
  7. #endif
  8. void __crt1_startup(void);
  9. void __main(void);
  10. void _npxsetup(char *argv0);
  11. void __emu387_exception_handler(void);
  12. void __djgpp_exception_processor(void);
  13. void __djgpp_exception_setup(void);
  14.  
  15. static inline int str_check_ptr(void * ptr)
  16. {
  17.  unsigned long p=(unsigned long)ptr;
  18.  if(p<64 || p>(64*1024*1024)) return 0;
  19.  return 1;
  20. }
  21.  
  22. #ifdef __cplusplus
  23. }
  24. #endif
  25.  
  26. #endif /* __dj_include_libc_internal_h__ */
  27.