diff options
Diffstat (limited to 'include/Exceptions.h')
-rw-r--r-- | include/Exceptions.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/Exceptions.h b/include/Exceptions.h index 470ee45..901bd33 100644 --- a/include/Exceptions.h +++ b/include/Exceptions.h @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: Exceptions.h,v 1.40 2004-11-28 12:20:10 pixel Exp $ */ +/* $Id: Exceptions.h,v 1.41 2005-02-17 08:33:49 pixel Exp $ */ #ifndef __EXCEPTIONS_H__ #define __EXCEPTIONS_H__ @@ -56,6 +56,7 @@ class Base { static void * malloc(ssize_t s); static void * realloc(void * p, size_t s); static void * calloc(size_t n, size_t s); + static int dup(int); void * operator new(size_t s); void * operator new(size_t s, void * p); void operator delete(void * p); @@ -102,6 +103,7 @@ class GeneralException : public Base { char * xstrdup(const char *); void * xmalloc(size_t) throw (GeneralException); void * xrealloc(void *, size_t); +int xdup(int) throw (GeneralException); int xpipe(int *, int = 0) throw (GeneralException); pid_t xfork() throw (GeneralException); //! This will simply throw the Exit exception. |