ringqPutStr | basic | EMF |
Add a string to the queue
int ringqPutstr(ringq_t *rq, char_t *str);,
rq | The ringq returned from a previous call to ringqOpen |
str | String to add to the queue |
If dealing in wide strings you must explicitly put the trailing two nulls. This routine will grow the q as required and correctly set endbuf and buf.
Returns the number of bytes successfully added.