search for: guestfs_open_fil

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

Did you mean: guestfs_open_file
2010 Aug 19
1
Proposed new libguestfs file APIS
...ks of data to specific places on the device. This will need a new API, as guestfs_pread can't open a block device. While I'm at it, I'd like to create a new family of APIs which operate on a file handle: int guestfs_open_device(g, path); Open a 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_...