Language-Haskell

 view release on metacpan or  search on metacpan

hugs98-Nov2003/fptools/libraries/base/include/HsBase.h  view on Meta::CPAN


}

INLINE int
__hscore_tcsanow( void )
{
#ifdef TCSANOW
  return TCSANOW;
#else
  return 0;
#endif

}

INLINE int
__hscore_icanon( void )
{
#ifdef ICANON
  return ICANON;
#else
  return 0;
#endif
}

INLINE int __hscore_vmin( void )
{
#ifdef VMIN
  return VMIN;
#else
  return 0;
#endif
}

INLINE int __hscore_vtime( void )
{
#ifdef VTIME
  return VTIME;
#else
  return 0;
#endif
}

INLINE int __hscore_sigttou( void )
{
#ifdef SIGTTOU
  return SIGTTOU;
#else
  return 0;
#endif
}

INLINE int __hscore_sig_block( void )
{
#ifdef SIG_BLOCK
  return SIG_BLOCK;
#else
  return 0;
#endif
}

INLINE int __hscore_sig_setmask( void )
{
#ifdef SIG_SETMASK
  return SIG_SETMASK;
#else
  return 0;
#endif
}

INLINE int
__hscore_f_getfl( void )
{
#ifdef F_GETFL
  return F_GETFL;
#else
  return 0;
#endif
}

INLINE int
__hscore_f_setfl( void )
{
#ifdef F_SETFL
  return F_SETFL;
#else
  return 0;
#endif
}

// defined in rts/RtsStartup.c.
extern void* __hscore_get_saved_termios(int fd);
extern void __hscore_set_saved_termios(int fd, void* ts);

INLINE int __hscore_hs_fileno (FILE *f) { return fileno (f); }

#if !defined(mingw32_TARGET_OS) && !defined(_MSC_VER)
INLINE int __hsposix_SIGABRT()   { return SIGABRT; }
INLINE int __hsposix_SIGALRM()   { return SIGALRM; }
INLINE int __hsposix_SIGBUS()    { return SIGBUS; }
INLINE int __hsposix_SIGCHLD()   { return SIGCHLD; }
INLINE int __hsposix_SIGCONT()   { return SIGCONT; }
INLINE int __hsposix_SIGFPE()    { return SIGFPE; }
INLINE int __hsposix_SIGHUP()    { return SIGHUP; }
INLINE int __hsposix_SIGILL()    { return SIGILL; }
INLINE int __hsposix_SIGINT()    { return SIGINT; }
INLINE int __hsposix_SIGKILL()   { return SIGKILL; }
INLINE int __hsposix_SIGPIPE()   { return SIGPIPE; }
INLINE int __hsposix_SIGQUIT()   { return SIGQUIT; }
INLINE int __hsposix_SIGSEGV()   { return SIGSEGV; }
INLINE int __hsposix_SIGSTOP()   { return SIGSTOP; }
INLINE int __hsposix_SIGTERM()   { return SIGTERM; }
INLINE int __hsposix_SIGTSTP()   { return SIGTSTP; }
INLINE int __hsposix_SIGTTIN()   { return SIGTTIN; }
INLINE int __hsposix_SIGTTOU()   { return SIGTTOU; }
INLINE int __hsposix_SIGUSR1()   { return SIGUSR1; }
INLINE int __hsposix_SIGUSR2()   { return SIGUSR2; }
#if HAVE_SIGPOLL
INLINE int __hsposix_SIGPOLL()   { return SIGPOLL; }
#endif
INLINE int __hsposix_SIGPROF()   { return SIGPROF; }
INLINE int __hsposix_SIGSYS()    { return SIGSYS; }



( run in 0.990 second using v1.01-cache-2.11-cpan-39bf76dae61 )