HelenOS sources

discard           203 uspace/lib/http/src/receive-buffer.c errno_t recv_discard(receive_buffer_t *rb, char discard, size_t *ndisc)
discard           209 uspace/lib/http/src/receive-buffer.c 	if (c != discard) {
discard           224 uspace/lib/http/src/receive-buffer.c errno_t recv_discard_str(receive_buffer_t *rb, const char *discard, size_t *ndisc)
discard           227 uspace/lib/http/src/receive-buffer.c 	while (*discard) {
discard           229 uspace/lib/http/src/receive-buffer.c 		errno_t rc = recv_discard(rb, *discard, &nd);
discard           235 uspace/lib/http/src/receive-buffer.c 		discard++;
HelenOS homepage, sources at GitHub