Assignment - Add Operating System Specific Code to an Operating System Independent (OSI) IOC Application ---------------------------------------------------------------- Add exampleApp synchronous device support for a stringin record that provides the name of the "shell" running the IOC executable using OSI routines (no ifdefs). For RTEMS, set to the value to "Cexp". For linux, set the value to the SHELL environment variable. For all other OSs, set the value to "Unknown" and set the record severity to invalid and an appropriate status. Create a database with a stringin record, using the device support. Refer to Chapter 20.1 and section 4.6.1 of the app dev guide for setting up os directories to contain OS-dependent source. For setting record severity and status, refer to section 11.6.1 of the app dev guide for using recGblSetSevr and $EPICS_BASE_RELEASE/include/alarm.h. See Chapter 6.6 of the app dev guide for setting up the device database definition file. See section 6.12.2 for setting up the record's DTYP and INP fields. See lab2Hints for hints on how to proceed.