sclp_buffer_space
int sclp_buffer_space(struct sclp_buffer *);
count = sclp_buffer_space(sclp_ttybuf) / sizeof(struct msg_buf);