git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd86183
)
guestfs(3): Writing to a file descriptor, not just a pipe.
author
Richard W.M. Jones
<rjones@redhat.com>
Sat, 30 Apr 2011 22:45:56 +0000
(18:45 -0400)
committer
Richard W.M. Jones
<rjones@redhat.com>
Sat, 30 Apr 2011 22:45:56 +0000
(18:45 -0400)
src/guestfs.pod
patch
|
blob
|
history
diff --git
a/src/guestfs.pod
b/src/guestfs.pod
index
c6e5a28
..
b66c16c
100644
(file)
--- 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<fd> by doing:
+and you can write tar output to a
file descriptor
C<fd> by doing:
char devfd[64];
snprintf (devfd, sizeof devfd, "/dev/fd/%d", fd);