]> granicus.if.org Git - procps-ng/commit
Add flexible buffered I/O based on fopencookie(3)
authorWerner Fink <werner@suse.de>
Thu, 18 Jan 2018 10:26:37 +0000 (11:26 +0100)
committerCraig Small <csmall@enc.com.au>
Wed, 28 Feb 2018 09:46:58 +0000 (20:46 +1100)
commite0ab7cff1f6754fa93ea438bc00d5e0a180604ce
treee417f7ee286417c562ff0e322d48a4b9939b6d53
parent6559450503b80d8be5741ac6aa81467a9bc2b7c8
Add flexible buffered I/O based on fopencookie(3)

to be able to read and write large buffers below /proc.
The buffers and file offsets are handled dynamically
on the required buffer size at read, that is lseek(2)
is used to determine this size. Large buffers at
write are split at a delimeter into pieces and also
lseek(2) is used to write each of them.

Signed-off-by: Werner Fink <werner@suse.de>
Makefile.am
proc/libprocps.sym
proc/procio.3 [new file with mode: 0644]
proc/procio.c [new file with mode: 0644]
proc/procio.h [new file with mode: 0644]