Saves partial screen contentschar *sm_sv_data(int first_field, int last_field);
- Specifies the area to save. All data between first
last_field, inclusive, is saved to the specified address.
sm_sv_datasaves the current screen's data from all fields numbered from
last_fieldfor external access or subsequent retrieval. Use sm_rs_data to restore the saved data to the screen.
Data items are stored as null-terminated character strings. The contents of a scrollable array is preceded by 2 bytes giving the total number of items saved (high order byte first); each item is preceded by two bytes of display attribute, and followed by a null. There is an additional null following all the scrolling data.
sm_rs_data, sm_save_data, sm_sv_free