Description: FIFO the C language. buffer point to the storage of data buffer size is the size of the buffer, in a write pointer subscript, out the subscript of the read pointer, len and (fifo-> size- fifo-> in+ fifo-> out) take a smaller value assigned to len. Note when (fifo-> in == fifo-> out+fifo-> size), indicating that the buffer is full, the smaller value obtained must be behind the actual number of bytes written all.
To Search:
File list (Check if you may need any files):
FIFO C.doc