Changeset 1683 for trunk/psLib/src/sysUtils
- Timestamp:
- Sep 2, 2004, 12:23:20 PM (22 years ago)
- Location:
- trunk/psLib/src/sysUtils
- Files:
-
- 4 added
- 4 edited
-
. (modified) (1 prop)
-
.cvsignore (modified) (1 diff)
-
Makefile (modified) (3 diffs)
-
parseErrorCodes.pl (added)
-
psError.h (modified) (3 diffs)
-
psErrorCodes.c (added)
-
psErrorCodes.dat (added)
-
psErrorCodes.h (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sysUtils
- Property svn:ignore
-
old new 1 1 *.i 2 psErrorCodes.h
-
- Property svn:ignore
-
trunk/psLib/src/sysUtils/.cvsignore
r1005 r1683 1 1 *.i 2 psErrorCodes.h -
trunk/psLib/src/sysUtils/Makefile
r1420 r1683 3 3 ## Makefile: sysUtils 4 4 ## 5 ## $Revision: 1.1 8$ $Name: not supported by cvs2svn $6 ## $Date: 2004-0 8-09 20:28:54$5 ## $Revision: 1.19 $ $Name: not supported by cvs2svn $ 6 ## $Date: 2004-09-02 22:23:20 $ 7 7 ## 8 8 ## Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 35 35 psLogMsg.o \ 36 36 psAbort.o \ 37 psString.o 37 psString.o \ 38 psErrorCodes.o 38 39 39 40 OBJS = $(addprefix makedir/,$(SRC_OBJS)) … … 42 43 43 44 all: $(TARGET_STATIC) 45 46 psErrorCodes.h: psErrorCodes.dat 47 perl parseErrorCodes.pl --data=$? $@ 48 49 psErrorCodes.c: psErrorCodes.dat 50 perl parseErrorCodes.pl --data=$? $@ 44 51 45 52 # Rule to make static library -
trunk/psLib/src/sysUtils/psError.h
r1448 r1683 1 2 1 /** @file psError.h 3 2 * … … 13 12 * @author Eric Van Alst, MHPCC 14 13 * 15 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $16 * @date $Date: 2004-0 8-10 01:55:34$14 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2004-09-02 22:23:20 $ 17 16 * 18 17 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 22 21 #define PS_ERROR_H 23 22 23 #include<stdio.h> 24 25 #include "psErrorCodes.h" 26 24 27 /** @addtogroup ErrorHandling 25 28 * @{ 26 29 */ 30 31 typedef struct 32 { 33 char *name; ///< category of code that caused the error 34 psErrorCode code; ///< class of error 35 char *msg; ///< the message associated with the error 36 } 37 psErr; 38 39 const psErr *psErrorGet(int which); 40 const psErr *psErrorLast(void); 41 void psErrorClear(void); 42 43 void psErrorStackPrint(FILE *fd, const char *fmt, ...); 44 void psErrorStackPrintV(FILE *fd, const char *fmt, va_list va); 27 45 28 46 /** Reports an error message to the logging facility
Note:
See TracChangeset
for help on using the changeset viewer.
