| ??? 05/22/02 21:13 Read: times |
#23284 - RE: circular buffers by pointers or index ? |
It set the index (sbuf_tail) to zero when the end of the buffer is reached. Try it on paper with a 3 byte buffer.
Erik |
| ??? 05/22/02 21:13 Read: times |
#23284 - RE: circular buffers by pointers or index ? |
It set the index (sbuf_tail) to zero when the end of the buffer is reached. Try it on paper with a 3 byte buffer.
Erik |