diff options
author | David Barr <david.barr@cordelta.com> | 2010-08-09 17:39:43 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-08-14 19:35:37 -0700 |
commit | 3bbaec00a8ffc6ea7e71c3b707851fe663d93a45 (patch) | |
tree | 5af41401b9e6764754058d4305a0d212190828b9 /sha1_file.c | |
parent | Add string-specific memory pool (diff) | |
download | tgif-3bbaec00a8ffc6ea7e71c3b707851fe663d93a45.tar.xz |
Add stream helper library
This library provides thread-unsafe fgets()- and fread()-like
functions where the caller does not have to supply a buffer. It
maintains a couple of static buffers and provides an API to use
them.
[rr: allow input from files other than stdin]
[jn: with tests, documentation, and error handling improvements]
Signed-off-by: David Barr <david.barr@cordelta.com>
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sha1_file.c')
0 files changed, 0 insertions, 0 deletions