[project @ 2000-03-13 10:53:55 by simonmar]
[ghc-hetmet.git] / ghc / rts / RtsUtils.h
index 72047b0..79557e8 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.7 2000/01/13 14:34:04 hwloidl Exp $
+ *
+ * (c) The GHC Team, 1998-1999
  *
  * General utility functions used in the RTS.
  *
@@ -11,21 +13,25 @@ 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 stackOverflow(void);
 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);
+