New API: guestfs_copy_size to copy a fixed number of bytes.
authorRichard Jones <rjones@redhat.com>
Mon, 22 Mar 2010 18:36:16 +0000 (18:36 +0000)
committerRichard Jones <rjones@redhat.com>
Tue, 23 Mar 2010 21:56:14 +0000 (21:56 +0000)
commitb6483061c25e90ae1b9e016812dea8e3756d6c23
tree5c9f8dbde945d1f1aeba90e2ffcaca5012475881
parent5d90acbe4b670e14084bbe9d11b717bfb6d95603
New API: guestfs_copy_size to copy a fixed number of bytes.

This is similar to 'guestfs_dd', but it copies just a fixed
number of bytes from the source to the destination.  It's an
error if the source is too short or if the destination is too
small.
daemon/dd.c
src/MAX_PROC_NR
src/generator.ml