IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 12, 2006, 11:39:47 AM (20 years ago)
Author:
jhoblitt
Message:

consistently use 'format' instead of fmt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sys/psError.h

    r8800 r8802  
    1212 *  @author Eric Van Alst, MHPCC
    1313 *
    14  *  @version $Revision: 1.30 $ $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 $
    1616 *
    1717 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    8888 *  The entire error stack may be printed to an open file descriptor by
    8989 *  calling psErrorStackPrint; if and only if there are current errors, the
    90  *  printf-style string fmt is first printed to the file descriptor fd. In
     90 *  printf-style string format is first printed to the file descriptor fd. In
    9191 *  this printout, error codes are replaced by their string equivalents.
    9292 *
     
    9696    FILE* fd,                          ///< destination file descriptor
    9797    const char* format,                ///< printf-style format of header line
    98     ...                                ///< any parameters required in fmt
     98    ...                                ///< any parameters required in format
    9999) __attribute__((format(printf, 2, 3)));
    100100#else // __GNUC__
     
    102102    FILE* fd,                          ///< destination file descriptor
    103103    const char* format,                ///< printf-style format of header line
    104     ...                                ///< any parameters required in fmt
     104    ...                                ///< any parameters required in format
    105105);
    106106#endif // __GNUC__
     
    112112 *  The entire error stack may be printed to an open file descriptor by
    113113 *  calling psErrorStackPrintV; if and only if there are current errors, the
    114  *  vprintf-style string fmt is first printed to the file descriptor fd. In
     114 *  vprintf-style string format is first printed to the file descriptor fd. In
    115115 *  this printout, error codes are replaced by their string equivalents.
    116116 *
     
    119119    FILE* fd,                          ///< destination file descriptor
    120120    const char* format,                   ///< printf-style format of header line
    121     va_list va                         ///< any parameters required in fmt
     121    va_list va                         ///< any parameters required in format
    122122);
    123123#endif // #ifndef SWIG
     
    127127 *
    128128 *  This function will invoke the psLogMsg function with a level of
    129  *  PS_LOG_ERROR and pass the parameters name and fmt to generate a proper
     129 *  PS_LOG_ERROR and pass the parameters name and format to generate a proper
    130130 *  log message.
    131131 *
     
    137137    psErrorCode code,                  ///< Error class code
    138138    psBool new,                        ///< true if error originates at this location
    139     const char* fmt,                   ///< printf-style format of header line
    140     ...                                ///< any parameters required in fmt
     139    const char* format,                ///< printf-style format of header line
     140    ...                                ///< any parameters required in format
    141141);
    142142
     
    149149 */
    150150void psWarning(
    151     const char* fmt,                   ///< printf-style format of header line
    152     ...                                ///< any parameters required in fmt
     151    const char* format,                ///< printf-style format of header line
     152    ...                                ///< any parameters required in format
    153153);
    154154#else // #ifdef DOXYGEN
     
    157157 *
    158158 *  This function will invoke the psLogMsg function with a level of
    159  *  PS_LOG_ERROR and pass the parameters name and fmt to generate a proper
     159 *  PS_LOG_ERROR and pass the parameters name and format to generate a proper
    160160 *  log message.  This function is used to check a specific code location.
    161161 *
     
    172172    bool new,                          ///< true if error originates at this location
    173173    const char* format,                ///< printf-style format of header line
    174     ...                                ///< any parameters required in fmt
     174    ...                                ///< any parameters required in format
    175175) __attribute__((format(printf, 6, 7)));
    176176#else // __GNUC__
     
    182182    bool new,                          ///< true if error originates at this location
    183183    const char* format,                ///< printf-style format of header line
    184     ...                                ///< any parameters required in fmt
     184    ...                                ///< any parameters required in format
    185185);
    186186#endif // __GNUC__
     
    199199    const char* func,                  ///< function name
    200200    const char* format,                ///< printf-style format of header line
    201     ...                                ///< any parameters required in fmt
     201    ...                                ///< any parameters required in format
    202202) __attribute__((format(printf, 4, 5)));
    203203#else // __GNUC__
     
    207207    const char* func,                  ///< function name
    208208    const char* format,                ///< printf-style format of header line
    209     ...                                ///< any parameters required in fmt
     209    ...                                ///< any parameters required in format
    210210);
    211211#endif // __GNUC__
Note: See TracChangeset for help on using the changeset viewer.