S
seema_coma
I am working under a Linux environment, and I want to
"read stream up to next delimiter". It looks like linux
doesnt't have a function such as bgets()
All i need is,
reading characters from stream into buffer until either
count is exhausted or one of the characters in breakstring
is encountered in the stream. The read data is terminated
with a null byte (' \0') and a pointer to the trailing null
is returned. If a breakstring character is encountered,
the last non-null is the delimiter character that terminated
the scan. Any library function available to achieve it
how to do it??
thanks in advance
seema
"read stream up to next delimiter". It looks like linux
doesnt't have a function such as bgets()
All i need is,
reading characters from stream into buffer until either
count is exhausted or one of the characters in breakstring
is encountered in the stream. The read data is terminated
with a null byte (' \0') and a pointer to the trailing null
is returned. If a breakstring character is encountered,
the last non-null is the delimiter character that terminated
the scan. Any library function available to achieve it
how to do it??
thanks in advance
seema