aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/godbus/dbus/transport_darwin.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/godbus/dbus/transport_darwin.go')
-rw-r--r--vendor/github.com/godbus/dbus/transport_darwin.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/vendor/github.com/godbus/dbus/transport_darwin.go b/vendor/github.com/godbus/dbus/transport_darwin.go
new file mode 100644
index 000000000..1bba0d6bf
--- /dev/null
+++ b/vendor/github.com/godbus/dbus/transport_darwin.go
@@ -0,0 +1,6 @@
+package dbus
+
+func (t *unixTransport) SendNullByte() error {
+ _, err := t.Write([]byte{0})
+ return err
+}