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.10.3~11 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=f33c0ff39fc0e29e40887821296ef3ce9ba10242;p=libguestfs.git guestfs(3): Writing to a file descriptor, not just a pipe. (cherry picked from commit 470e373eea218c8d46b0c63dda93ee9ece48940f) --- 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);