Changeset 7587 for trunk/psLib/src/sys
- Timestamp:
- Jun 16, 2006, 1:01:10 PM (20 years ago)
- Location:
- trunk/psLib/src/sys
- Files:
-
- 2 edited
-
psLogMsg.c (modified) (3 diffs)
-
psLogMsg.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sys/psLogMsg.c
r7569 r7587 11 11 * @author GLG, MHPCC 12 12 * 13 * @version $Revision: 1.5 5$ $Name: not supported by cvs2svn $14 * @date $Date: 2006-06-1 5 00:17:32$13 * @version $Revision: 1.56 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2006-06-16 23:01:10 $ 15 15 * 16 16 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 186 186 // Special destinations: stdout, stderr 187 187 if (strcmp(dest, "stdout") == 0) { 188 logFD = STDOUT_FILENO; 188 189 return STDOUT_FILENO; 189 190 } 190 191 if (strcmp(dest, "stderr") == 0) { 192 logFD = STDERR_FILENO; 191 193 return STDERR_FILENO; 192 194 } … … 213 215 } 214 216 psFree(protocolLocation); 217 logFD = fileD; 215 218 return fileD; 216 219 } -
trunk/psLib/src/sys/psLogMsg.h
r5072 r7587 11 11 * @author GLG, MHPCC 12 12 * 13 * @version $Revision: 1.3 4$ $Name: not supported by cvs2svn $14 * @date $Date: 200 5-09-20 02:43:53$13 * @version $Revision: 1.35 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2006-06-16 23:01:10 $ 15 15 * 16 16 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 27 27 28 28 /** This procedure sets the destination for future log messages. 29 * This procedure will take a character string as an 30 * argument which can specify general log destinations. 29 * 30 * This procedure will take an integer as an argument 31 * which can specify general log destinations. 31 32 * 32 33 * @return bool true if set successfully, otherwise false. … … 76 77 /** This procedures uses a string to set the destination for which to send 77 78 * the corresponding log messages. 78 *79 79 * 80 80 * @return int: The file descriptor location of the message.
Note:
See TracChangeset
for help on using the changeset viewer.
