HelenOS sources

endl               76 uspace/lib/c/generic/io/kio.c 		const char *endl = memchr(s, '\n', size);
endl               77 uspace/lib/c/generic/io/kio.c 		if (endl) {
endl               80 uspace/lib/c/generic/io/kio.c 			size_t sz = min(KIO_BUFFER_SIZE - used, (size_t) (endl - s));
endl               87 uspace/lib/c/generic/io/kio.c 			size -= endl + 1 - s;
endl               88 uspace/lib/c/generic/io/kio.c 			s = endl + 1;
HelenOS homepage, sources at GitHub