summaryrefslogtreecommitdiff
path: root/subplot/data.py
diff options
context:
space:
mode:
Diffstat (limited to 'subplot/data.py')
-rw-r--r--subplot/data.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/subplot/data.py b/subplot/data.py
index 3c369d1..0c1a4a5 100644
--- a/subplot/data.py
+++ b/subplot/data.py
@@ -24,6 +24,10 @@ def create_unix_socket(ctx, filename=None):
fd.bind(filename)
+def create_fifo(ctx, filename=None):
+ os.mkfifo(filename)
+
+
def create_nonutf8_filename(ctx, dirname=None):
filename = "\x88"
os.mkdir(dirname)