diff options
author | etheisen <etheisen@cvs.openbsd.org> | 1996-08-28 07:31:52 +0000 |
---|---|---|
committer | etheisen <etheisen@cvs.openbsd.org> | 1996-08-28 07:31:52 +0000 |
commit | b8dca4b76ac15a97714916dbf440d3bff7b48186 (patch) | |
tree | f6d5793bb8175e3bbbc601b021e69ac9fa13b8cf /usr.bin/mkfifo/mkfifo.1 | |
parent | 307e214ac824cbb928e0346645f83ff41ccf92d0 (diff) |
mkfifo now generates AF_UNIX sockets as well as fifos. Use the -s opt to
generate sockets.
Diffstat (limited to 'usr.bin/mkfifo/mkfifo.1')
-rw-r--r-- | usr.bin/mkfifo/mkfifo.1 | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/usr.bin/mkfifo/mkfifo.1 b/usr.bin/mkfifo/mkfifo.1 index 63a1352deb9..10f72708b4f 100644 --- a/usr.bin/mkfifo/mkfifo.1 +++ b/usr.bin/mkfifo/mkfifo.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mkfifo.1,v 1.2 1996/06/26 05:37:11 deraadt Exp $ +.\" $OpenBSD: mkfifo.1,v 1.3 1996/08/28 07:31:49 etheisen Exp $ .\" $NetBSD: mkfifo.1,v 1.4 1994/12/23 07:16:54 jtc Exp $ .\" .\" Copyright (c) 1990, 1993 @@ -42,14 +42,15 @@ .Os BSD 4.4 .Sh NAME .Nm mkfifo -.Nd make fifos +.Nd make fifos or sockets .Sh SYNOPSIS .Nm mkfifo .Op Fl m Ar mode -.Ar fifo_name ... +.Op Fl s +.Ar filename ... .Sh DESCRIPTION .Nm Mkfifo -creates the fifos requested, in the order specified, +creates the fifos or AF_UNIX sockets requested, in the order specified, using mode .Li \&0666 modified by the current @@ -68,6 +69,9 @@ and .Dq - operators are interpreted relative to an assumed initial mode of .Dq a=rw +.It Fl s +Create AF_UNIX socket names in the file system. +This is a non-standard extension. .El .Pp .Nm Mkfifo @@ -79,9 +83,13 @@ exits 0 if successful, and >0 if an error occurred. .Xr mkdir 1 , .Xr mknod 1 , .Xr rm 1 , -.Xr mkfifo 2 +.Xr mkfifo 2 , +.Xr socket 2 , +.Xr bind 2 .Sh STANDARDS -The +With the exception of the +.Fl s +flag, the .Nm mkfifo utility is expected to be .St -p1003.2-92 |