search for: guestfs_hpwrite

Displaying 1 result from an estimated 1 matches for "guestfs_hpwrite".

Did you mean: guestfs__write
2010 Aug 19
1
Proposed new libguestfs file APIS
...block device. Return a handle. int guestfs_open_file(g, path); Open a file from the guest's filesystem. Return a handle. int guestfs_close_handle(g, handle); Close a file handle. ssize_t guestfs_hpread(g, handle, buf, size, offset); ssize_t guestfs_hread(g, handle, buf, size); ssize_t guestfs_hpwrite(g, handle, buf, size, offset); ssize_t guestfs_hwrite(g, handle, buf, size); Wrappers round pread(), read(), pwrite() and write() which operate on a handle. ssize_t guestfs_hseek(g, handle, offset, whence); Wrapper round lseek(). int guestfs_htruncate(g, handle, length); Wrapper round f...