Description get the terminal bell state. May be NULL in which case the value is not returned. End of selection, horizontal. Description Convert the buffer memory into a contiguous array which may be saved or processed. Note that this is not gauranteed to match the order of characters processed by the terminal, only the order in which they were displayed.
All inputs are range-checked first, so it is possible to fudge a full buffer grab.
A pointer to a NUL terminated buffer containing the raw text from the buffer. If memory could not be allocated, then returns NULL . If len was supplied, then the length of data is stored there.