summaryrefslogtreecommitdiffstats
path: root/qemu_pipe/include
diff options
context:
space:
mode:
authorbohu <bohu@google.com>2017-03-29 12:19:56 -0700
committerbohu <bohu@google.com>2017-03-29 12:19:56 -0700
commitf868066daaabf64cb7dc917b03722751491e4c19 (patch)
treed02600be2ad68a5f0f72eacd59f9befc67fcc79e /qemu_pipe/include
parentee13ff1b9981f753741a60de5f9b12161e124b5d (diff)
downloadsystem_core-f868066daaabf64cb7dc917b03722751491e4c19.tar.gz
system_core-f868066daaabf64cb7dc917b03722751491e4c19.tar.bz2
system_core-f868066daaabf64cb7dc917b03722751491e4c19.zip
Revert "Revert "Qemu: make the qemu_pipe_open back compatible""
This reverts commit 79b30058992ddf678a261a59172a009d6a0db0ed.
Diffstat (limited to 'qemu_pipe/include')
-rw-r--r--qemu_pipe/include/qemu_pipe.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/qemu_pipe/include/qemu_pipe.h b/qemu_pipe/include/qemu_pipe.h
index 16486c087..098749899 100644
--- a/qemu_pipe/include/qemu_pipe.h
+++ b/qemu_pipe/include/qemu_pipe.h
@@ -28,8 +28,10 @@ extern "C" {
// This file descriptor can be used as a standard pipe/socket descriptor.
//
// 'pipeName' is the name of the emulator service you want to connect to,
-// and must begin with 'pipe:' (e.g. 'pipe:camera' or 'pipe:opengles').
-//
+// and should begin with 'pipe:' (e.g. 'pipe:camera' or 'pipe:opengles').
+// For backward compatibility, the 'pipe:' prefix can be omitted, and in
+// that case, qemu_pipe_open will add it for you.
+
// On success, return a valid file descriptor, or -1/errno on failure. E.g.:
//
// EINVAL -> unknown/unsupported pipeName