Changeset 2972 for trunk/psLib/src/sysUtils/psError.h
- Timestamp:
- Jan 13, 2005, 9:51:27 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/sysUtils/psError.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sysUtils/psError.h
r2273 r2972 12 12 * @author Eric Van Alst, MHPCC 13 13 * 14 * @version $Revision: 1.1 5$ $Name: not supported by cvs2svn $15 * @date $Date: 200 4-11-04 01:05:00$14 * @version $Revision: 1.16 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-01-13 19:50:45 $ 16 16 * 17 17 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 42 42 /** Get a error from the error stack 43 43 * 44 * Previous errors on the stack are returned by psErrorGet (a value of 0 44 * Previous errors on the stack are returned by psErrorGet (a value of 0 45 45 * passed to psErrorGet is equivalent to a call to psErrorLast). 46 46 * 47 * if no error is at the which position, a non-NULL psErr is returned with 47 * if no error is at the which position, a non-NULL psErr is returned with 48 48 * code PS_ERR_NONE. 49 49 * … … 56 56 /** Get last error put on the error stack 57 57 * 58 * The last error reported is available from psErrorLast; if no errors are 58 * The last error reported is available from psErrorLast; if no errors are 59 59 * current, a non-NULL psErr is returned with code PS_ERR_NONE. 60 60 * … … 70 70 void psErrorClear(void); 71 71 72 /** Get the error stack depth 73 * 74 * @return psS32 The number of items on the error stack 75 */ 76 psS32 psErrorGetStackSize(); 77 72 78 /** Prints error stack to specified open file descriptor 73 79 * 74 * The entire error stack may be printed to an open file descriptor by 75 * calling psErrorStackPrint; if and only if there are current errors, the 76 * printf-style string fmt is first printed to the file descriptor fd. In 80 * The entire error stack may be printed to an open file descriptor by 81 * calling psErrorStackPrint; if and only if there are current errors, the 82 * printf-style string fmt is first printed to the file descriptor fd. In 77 83 * this printout, error codes are replaced by their string equivalents. 78 84 * … … 86 92 /** Prints error stack to specified open file descriptor 87 93 * 88 * The entire error stack may be printed to an open file descriptor by 89 * calling psErrorStackPrintV; if and only if there are current errors, the 90 * vprintf-style string fmt is first printed to the file descriptor fd. In 94 * The entire error stack may be printed to an open file descriptor by 95 * calling psErrorStackPrintV; if and only if there are current errors, the 96 * vprintf-style string fmt is first printed to the file descriptor fd. In 91 97 * this printout, error codes are replaced by their string equivalents. 92 98 *
Note:
See TracChangeset
for help on using the changeset viewer.
