Changeset 4307 for trunk/psLib/src/sysUtils
- Timestamp:
- Jun 17, 2005, 1:39:51 PM (21 years ago)
- Location:
- trunk/psLib/src/sysUtils
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sysUtils/psAbort.c
r3264 r4307 10 10 * @author Eric Van Alst, MHPCC 11 11 * 12 * @version $Revision: 1.1 0$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-0 2-17 19:26:24$12 * @version $Revision: 1.11 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-06-17 23:39:51 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 21 21 #include "psLogMsg.h" 22 22 23 void psAbort(const char *name, const char *f mt, ...)23 void psAbort(const char *name, const char *format, ...) 24 24 { 25 25 va_list argPtr; // variable list arguement pointer 26 26 27 27 // Get the variable list parameters to pass to logging function 28 va_start(argPtr, f mt);28 va_start(argPtr, format); 29 29 30 30 // Call logging function with PS_LOG_ABORT level 31 psLogMsgV(name, PS_LOG_ABORT, f mt, argPtr);31 psLogMsgV(name, PS_LOG_ABORT, format, argPtr); 32 32 33 33 // Clean up stack after variable arguement has been used -
trunk/psLib/src/sysUtils/psAbort.h
r4162 r4307 12 12 * @author Eric Van Alst, MHPCC 13 13 * 14 * @version $Revision: 1.1 0$ $Name: not supported by cvs2svn $15 * @date $Date: 2005-06- 08 23:40:45$14 * @version $Revision: 1.11 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-06-17 23:39:51 $ 16 16 * 17 17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 39 39 void psAbort( 40 40 const char *name, ///< Source of abort such as file or function detected 41 const char *f mt, ///< A printf style formatting statement defining msg41 const char *format, ///< A printf style formatting statement defining msg 42 42 ... 43 43 );
Note:
See TracChangeset
for help on using the changeset viewer.
