New API call: pread
authorRichard Jones <rjones@redhat.com>
Mon, 2 Nov 2009 17:02:32 +0000 (17:02 +0000)
committerRichard Jones <rjones@redhat.com>
Mon, 2 Nov 2009 17:48:39 +0000 (17:48 +0000)
commit90cf7fc904fca42665fe04cdd90a4c547d23b00c
tree135162288c8a132c24947a5333c48a00bcac5824
parent55a7427b7679e25134cd43488a9f74cb542416ea
New API call: pread

guestfs_pread lets you do partial file reads from arbitrary
places within a file.  It works like the pread(2) system call.
daemon/file.c
src/MAX_PROC_NR
src/generator.ml