mirror of
https://github.com/openbsd/src.git
synced 2025-01-10 06:47:55 -08:00
6ec3986fe5
better example for other code to follow. in the common case, grep uses mmap anyway (so no functional change). despite fgetln doing sneaky things with stdio internals, preliminary analysis by lauri suggests this may actually reduce the number of allocations. from Lauri Tirkkonen. |
||
---|---|---|
.. | ||
binary.c | ||
file.c | ||
grep.1 | ||
grep.c | ||
grep.h | ||
Makefile | ||
mmfile.c | ||
queue.c | ||
util.c |