From: Richard W.M. Jones Date: Sat, 30 Apr 2011 22:45:56 +0000 (-0400) Subject: guestfs(3): Writing to a file descriptor, not just a pipe. X-Git-Tag: 1.11.4~13 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=470e373eea218c8d46b0c63dda93ee9ece48940f;p=libguestfs.git guestfs(3): Writing to a file descriptor, not just a pipe. --- diff --git a/src/guestfs.pod b/src/guestfs.pod index c6e5a28..b66c16c 100644 --- a/src/guestfs.pod +++ b/src/guestfs.pod @@ -354,7 +354,7 @@ doing: guestfs_download (g, filename, "/dev/stdout"); -and you can write tar output to a pipe C by doing: +and you can write tar output to a file descriptor C by doing: char devfd[64]; snprintf (devfd, sizeof devfd, "/dev/fd/%d", fd);