Changeset 4860 for trunk/doc/pslib/psLibSDRS.tex
- Timestamp:
- Aug 23, 2005, 3:38:16 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/doc/pslib/psLibSDRS.tex (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/pslib/psLibSDRS.tex
r4794 r4860 1 %%% $Id: psLibSDRS.tex,v 1.32 5 2005-08-16 23:18:38price Exp $1 %%% $Id: psLibSDRS.tex,v 1.326 2005-08-24 01:38:16 price Exp $ 2 2 \documentclass[panstarrs,spec]{panstarrs} 3 3 … … 1234 1234 void psTraceSetDestination(int fd); 1235 1235 \end{prototype} 1236 If the \code{fd} is 0, then the trace is sent to standard output, 1237 otherwise it is sent to the specified file descriptor. A call to 1238 \code{psTraceSetDestination} automatically closes the file descriptor. 1236 If the \code{fd} is zero, then tracing is disabled. Otherwise, the 1237 trace is sent to the specified file descriptor. As a convenience, the 1238 following are defined: 1239 \begin{datatype} 1240 enum { 1241 PS_TRACE_TO_NONE = 0, ///< turn off all traces 1242 PS_TRACE_TO_STDOUT = 1, ///< trace to system's stdout 1243 PS_TRACE_TO_STDERR = 2, ///< trace to system's stderr 1244 }; 1245 \end{datatype} 1246 % 1247 This arrangement mirros the file descriptors for standard input, 1248 output and error. A call to \code{psTraceSetDestination} 1249 automatically closes an open file descriptor. 1239 1250 1240 1251 The corresponding function … … 1285 1296 1286 1297 Specifying a \code{format} of \code{NULL} turns off logging (equivalent 1287 to calling \code{ps LogSetDestination(PS_LOG_TO_NONE)}, whereas if the1298 to calling \code{psTraceSetDestination(PS_TRACE_TO_NONE)}, whereas if the 1288 1299 \code{format} is \code{""}, then the format reverts to the default. 1289 1300 … … 1352 1363 \end{prototype} 1353 1364 % 1354 If the \code{fd} is 0, then the log is sent to standard output, 1355 otherwise it is sent to the specified file descriptor. A call to 1356 \code{psLogSetDestination} automatically closes an open file 1357 descriptor. 1365 If the \code{fd} is zero, then logging is disabled. Otherwise, the 1366 log is sent to the specified file descriptor. As a convenience, the 1367 following are defined: 1368 \begin{datatype} 1369 enum { 1370 PS_LOG_TO_NONE = 0, ///< turn off logging 1371 PS_LOG_TO_STDOUT = 1, ///< log to system's stdout 1372 PS_LOG_TO_STDERR = 2, ///< log to system's stderr 1373 }; 1374 \end{datatype} 1375 % 1376 This arrangement mirros the file descriptors for standard input, 1377 output and error. A call to \code{psLogSetDestination} automatically 1378 closes an open file descriptor. 1358 1379 1359 1380 The corresponding function
Note:
See TracChangeset
for help on using the changeset viewer.
