Searched refs:read_head (Results 1 - 1 of 1) sorted by relevance

/osnet-11/usr/src/lib/libpcp/common/
H A Dlibpcp.c135 static uint8_t *read_head = NULL; variable
750 read_head = read_area;
758 if (byte_cnt <= (read_tail - read_head)) {
759 (void) memcpy(buf, read_head, byte_cnt);
760 read_head += byte_cnt;
768 for (i = 0; i < (read_tail - read_head); ++i) {
769 read_area[i] = read_head[i];
771 read_head = read_area;
772 read_tail = read_head + i;
794 m = byte_cnt - (read_tail - read_head);
[all...]

Completed in 21 milliseconds