Changeset 11263 for trunk/psphot/src/psphotCleanup.c
- Timestamp:
- Jan 24, 2007, 11:41:08 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotCleanup.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotCleanup.c
r9270 r11263 15 15 return; 16 16 } 17 18 psExit psphotGetExitStatus () { 19 20 psErrorCode err = psErrorCodeLast (); 21 switch (err) { 22 case PSPHOT_ERR_SYS: 23 return PS_EXIT_SYS_ERROR; 24 case PSPHOT_ERR_CONFIG: 25 return PS_EXIT_CONFIG_ERROR; 26 case PSPHOT_ERR_PROG: 27 return PS_EXIT_PROG_ERROR; 28 case PSPHOT_ERR_DATA: 29 return PS_EXIT_DATA_ERROR; 30 default: 31 return PS_EXIT_UNKNOWN_ERROR; 32 } 33 return PS_EXIT_UNKNOWN_ERROR; 34 }
Note:
See TracChangeset
for help on using the changeset viewer.
