Changeset 5071 for trunk/psLib/test/sys/tst_psTrace.c
- Timestamp:
- Sep 19, 2005, 2:31:22 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/sys/tst_psTrace.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/sys/tst_psTrace.c
r4951 r5071 188 188 static psS32 testTrace04(void) 189 189 { 190 FILE *fp;191 190 int FD; 192 191 psS32 nb = 0; … … 194 193 // printf("\nFD = %d\n", FD); 195 194 // fp = fopen("tst_psTrace02_OUT", "w"); 196 fp = fdopen(FD, "w");197 195 for (nb = 0 ; nb<4;nb++) { 198 196 if (nb == 0) … … 203 201 psTraceSetDestination(2); 204 202 if (nb == 2) 205 psTraceSetDestination( -1); //NULL203 psTraceSetDestination(0); //NULL 206 204 if (nb == 3) 207 205 psTraceSetDestination(FD); … … 231 229 } 232 230 233 fclose(fp);234 231 close(FD); 235 232
Note:
See TracChangeset
for help on using the changeset viewer.
