-------------------------------------------------------------------------*\ * Determines if there is any data in the read buffer \*-------------------------------------------------------------------------*/
| 155 | * Determines if there is any data in the read buffer |
| 156 | \*-------------------------------------------------------------------------*/ |
| 157 | int buffer_isempty(p_buffer buf) { |
| 158 | return buf->first >= buf->last; |
| 159 | } |
| 160 | |
| 161 | /*=========================================================================*\ |
| 162 | * Internal functions |
no outgoing calls
no test coverage detected