ringqPutStr basic EMF

Synopsis

Add a string to the queue

Prototype

int ringqPutstr(ringq_t *rq, char_t *str);, 

Parameters

rq The ringq returned from a previous call to ringqOpen
str String to add to the queue

Description

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.

Return Value

Returns the number of bytes successfully added.

Example



See Also

ringqOpen, ringqPutc, ringqPutBlk