procps/proc/procio.h
Werner Fink e0ab7cff1f 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>
2018-02-28 20:46:58 +11:00

12 lines
169 B
C

#ifndef PROCPS_PROC_PROCIO_H
#define PROCPS_PROC_PROCIO_H
#include "procps.h"
EXTERN_C_BEGIN
extern FILE *fprocopen(const char *, const char *);
EXTERN_C_END
#endif