[project @ 2001-07-23 17:23:19 by simonmar]
[ghc-hetmet.git] / ghc / rts / RtsUtils.h
index 72047b0..428061a 100644 (file)
@@ -1,5 +1,7 @@
 /* -----------------------------------------------------------------------------
- * $Id: RtsUtils.h,v 1.2 1998/12/02 13:28:42 simonm Exp $
+ * $Id: RtsUtils.h,v 1.10 2000/05/18 11:32:21 panne Exp $
+ *
+ * (c) The GHC Team, 1998-1999
  *
  * General utility functions used in the RTS.
  *
@@ -11,21 +13,22 @@ extern void *stgReallocBytes(void *p, int n, char *msg);
 extern void *stgReallocWords(void *p, int n, char *msg);
 extern void barf(char *s, ...) __attribute__((__noreturn__)) ;
 extern void belch(char *s, ...);
+extern void prog_belch(char *s, ...);
 
 extern void _stgAssert (char *filename, unsigned int linenum);
 
-extern StgStablePtr errorHandler;
-extern void raiseError( StgStablePtr handler );
-
-extern void stackOverflow(nat stk_size);
 extern void heapOverflow(void);
 
+void resetNonBlockingFd(int fd);
+
 extern nat stg_strlen(char *str);
 
 /*Defined in Main.c, but made visible here*/
 extern void stg_exit(I_ n) __attribute__((noreturn));
 
-char * time_str(void);
-
+char *time_str(void);
 char *ullong_format_string(ullong, char *, rtsBool);
 
+ullong   msTime(void);
+
+