summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-01-23 22:06:52 -0800
committerKaz Kyheku <kaz@kylheku.com>2020-01-23 22:06:52 -0800
commit208319c21734bbb829fd6b8e2bc9da819b454bad (patch)
tree52b37dfbf2ab6ab24fc5758ae6ca75b663112f93 /txr.1
parente2b37f659246bf9c5ba2ed9561772f8b56a36256 (diff)
downloadtxr-208319c21734bbb829fd6b8e2bc9da819b454bad.tar.gz
txr-208319c21734bbb829fd6b8e2bc9da819b454bad.tar.bz2
txr-208319c21734bbb829fd6b8e2bc9da819b454bad.zip
New function: mkfifo.
* configure: detect mkfifo. (sysif_init): Register mkfifo intrinsic. * txr.1: Documented.
Diffstat (limited to 'txr.1')
-rw-r--r--txr.127
1 files changed, 27 insertions, 0 deletions
diff --git a/txr.1 b/txr.1
index 950b3eac..778d9994 100644
--- a/txr.1
+++ b/txr.1
@@ -58138,6 +58138,33 @@ function.
(mknod "dev/foo" (logior #o700 s-ifchr) (makedev 8 3))
.brev
+.coNP Function @ mkfifo
+.synb
+.mets (mkfifo < path << mode )
+.syne
+.desc
+The
+.code mkfifo
+function creates a POSIX FIFO object.
+If it is successful,
+it returns
+.codn t ,
+otherwise it throws an exception of type
+.codn file-error .
+
+The
+.meta mode
+argument is a bitwise or combination of the requested permissions,
+and is subject to the system
+.codn umask .
+
+Note: the
+.code mknod
+function can also create FIFOs, specified via the bitwise combination
+of the
+.code s-ififo
+type and the permission mode bits.
+
.coNP Functions @ symlink and @ link
.synb
.mets (symlink < target << path )