Changeset 1407 for trunk/psLib/src/sysUtils/psError.c
- Timestamp:
- Aug 6, 2004, 2:06:06 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/sysUtils/psError.c (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sysUtils/psError.c
r1406 r1407 1 1 2 /** @file psError.c 2 3 * … … 10 11 * @author Eric Van Alst, MHPCC 11 12 * 12 * @version $Revision: 1. 9$ $Name: not supported by cvs2svn $13 * @date $Date: 2004-08-0 6 22:34:05$13 * @version $Revision: 1.10 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2004-08-07 00:06:06 $ 14 15 * 15 16 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 17 18 18 19 /******************************************************************************/ 20 19 21 /* INCLUDE FILES */ 22 20 23 /******************************************************************************/ 21 24 #include <stdarg.h> … … 24 27 25 28 /******************************************************************************/ 29 26 30 /* DEFINE STATEMENTS */ 31 27 32 /******************************************************************************/ 28 33 … … 30 35 31 36 /******************************************************************************/ 37 32 38 /* TYPE DEFINITIONS */ 39 33 40 /******************************************************************************/ 34 41 … … 36 43 37 44 /*****************************************************************************/ 45 38 46 /* GLOBAL VARIABLES */ 47 39 48 /*****************************************************************************/ 40 49 … … 42 51 43 52 /*****************************************************************************/ 53 44 54 /* FILE STATIC VARIABLES */ 55 45 56 /*****************************************************************************/ 46 57 … … 48 59 49 60 /*****************************************************************************/ 61 50 62 /* FUNCTION IMPLEMENTATIONS - LOCAL */ 63 51 64 /*****************************************************************************/ 52 65 … … 54 67 55 68 /*****************************************************************************/ 69 56 70 /* FUNCTION IMPLEMENTATIONS - PUBLIC */ 71 57 72 /*****************************************************************************/ 58 73 59 void psError(const char *name, const char *fmt, ...)74 void psError(const char *name, const char *fmt, ...) 60 75 { 61 va_list argPtr;// variable list arguement pointer76 va_list argPtr; // variable list arguement pointer 62 77 63 // Get the variable list parameters to pass to logging function78 // Get the variable list parameters to pass to logging function 64 79 va_start(argPtr, fmt); 65 80 … … 70 85 va_end(argPtr); 71 86 } 72
Note:
See TracChangeset
for help on using the changeset viewer.
