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