STRING buf_to_str(BUFFER buf)
This function converts the entire buffer specified by buf to a
string. Newlines are converted to "\n". To just get the first
string in the buffer you can do:
i = `[10] in buffer; str = buf_to_str(subbuf(buffer, 1, i - 1)); buffer = subbuf(buffer, i + 1);
Last Modified on 24 Mar 1996
Copyright © 1995, 1996, Brandon Gillespie