StringStream* new_string_stream(string)

- create a new string-stream String string;

void delete_string_stream(ss)

- delete a string-stream StringStream *ss;

This module implements input from a character string. A new character string-stream is created by new_string_stream().

void string_stream(ss)

- make ss the current string-stream StringStream *ss;

int string_current_ch()

- return the current character

int string_next_ch()

- return the next character

void string_pushback_ch(l)

- push back l characters int l;

The current string stream is set by string_stream(). All other functions act on the current string-stream.

str_in.c str_in.h