diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | README.md | 13 |
2 files changed, 15 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8da825a --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*~ +/a.out diff --git a/README.md b/README.md new file mode 100644 index 0000000..f8f1eb0 --- /dev/null +++ b/README.md @@ -0,0 +1,13 @@ +Despite unix(7) offering much more features than pipe(7), +it is much faster. There is however two features unix(7) +does not have: there is no guarantee that small writes are +atomic, there is not support for splice(2)/tee(2) which +is extremely efficient, and file descriptor hijacking is +not support. The latter is a double-sided sword: it [the +lack of support] increases security, but other processes' +file cannot be opened and programs must treat /dev/fd/ +paths especially. + +![](graph.svg) + +send(3)/recv(3) is marginally faster than write(3)/read(3). |