Changeset 8802 for trunk/psLib/src/sys/psError.h
- Timestamp:
- Sep 12, 2006, 11:39:47 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/sys/psError.h (modified) (14 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sys/psError.h
r8800 r8802 12 12 * @author Eric Van Alst, MHPCC 13 13 * 14 * @version $Revision: 1.3 0$ $Name: not supported by cvs2svn $15 * @date $Date: 2006-09-12 21: 10:22$14 * @version $Revision: 1.31 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2006-09-12 21:39:47 $ 16 16 * 17 17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 88 88 * The entire error stack may be printed to an open file descriptor by 89 89 * calling psErrorStackPrint; if and only if there are current errors, the 90 * printf-style string f mt is first printed to the file descriptor fd. In90 * printf-style string format is first printed to the file descriptor fd. In 91 91 * this printout, error codes are replaced by their string equivalents. 92 92 * … … 96 96 FILE* fd, ///< destination file descriptor 97 97 const char* format, ///< printf-style format of header line 98 ... ///< any parameters required in f mt98 ... ///< any parameters required in format 99 99 ) __attribute__((format(printf, 2, 3))); 100 100 #else // __GNUC__ … … 102 102 FILE* fd, ///< destination file descriptor 103 103 const char* format, ///< printf-style format of header line 104 ... ///< any parameters required in f mt104 ... ///< any parameters required in format 105 105 ); 106 106 #endif // __GNUC__ … … 112 112 * The entire error stack may be printed to an open file descriptor by 113 113 * calling psErrorStackPrintV; if and only if there are current errors, the 114 * vprintf-style string f mt is first printed to the file descriptor fd. In114 * vprintf-style string format is first printed to the file descriptor fd. In 115 115 * this printout, error codes are replaced by their string equivalents. 116 116 * … … 119 119 FILE* fd, ///< destination file descriptor 120 120 const char* format, ///< printf-style format of header line 121 va_list va ///< any parameters required in f mt121 va_list va ///< any parameters required in format 122 122 ); 123 123 #endif // #ifndef SWIG … … 127 127 * 128 128 * This function will invoke the psLogMsg function with a level of 129 * PS_LOG_ERROR and pass the parameters name and f mt to generate a proper129 * PS_LOG_ERROR and pass the parameters name and format to generate a proper 130 130 * log message. 131 131 * … … 137 137 psErrorCode code, ///< Error class code 138 138 psBool new, ///< true if error originates at this location 139 const char* f mt,///< printf-style format of header line140 ... ///< any parameters required in f mt139 const char* format, ///< printf-style format of header line 140 ... ///< any parameters required in format 141 141 ); 142 142 … … 149 149 */ 150 150 void psWarning( 151 const char* f mt,///< printf-style format of header line152 ... ///< any parameters required in f mt151 const char* format, ///< printf-style format of header line 152 ... ///< any parameters required in format 153 153 ); 154 154 #else // #ifdef DOXYGEN … … 157 157 * 158 158 * This function will invoke the psLogMsg function with a level of 159 * PS_LOG_ERROR and pass the parameters name and f mt to generate a proper159 * PS_LOG_ERROR and pass the parameters name and format to generate a proper 160 160 * log message. This function is used to check a specific code location. 161 161 * … … 172 172 bool new, ///< true if error originates at this location 173 173 const char* format, ///< printf-style format of header line 174 ... ///< any parameters required in f mt174 ... ///< any parameters required in format 175 175 ) __attribute__((format(printf, 6, 7))); 176 176 #else // __GNUC__ … … 182 182 bool new, ///< true if error originates at this location 183 183 const char* format, ///< printf-style format of header line 184 ... ///< any parameters required in f mt184 ... ///< any parameters required in format 185 185 ); 186 186 #endif // __GNUC__ … … 199 199 const char* func, ///< function name 200 200 const char* format, ///< printf-style format of header line 201 ... ///< any parameters required in f mt201 ... ///< any parameters required in format 202 202 ) __attribute__((format(printf, 4, 5))); 203 203 #else // __GNUC__ … … 207 207 const char* func, ///< function name 208 208 const char* format, ///< printf-style format of header line 209 ... ///< any parameters required in f mt209 ... ///< any parameters required in format 210 210 ); 211 211 #endif // __GNUC__
Note:
See TracChangeset
for help on using the changeset viewer.
