summaryrefslogtreecommitdiff
path: root/share/man/man4
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-11-09 22:38:16 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-11-09 22:38:16 +0000
commit53f8d649ff77ad3b9b2f540da501dade92af2918 (patch)
treedd64e81839ca60ce77952e32ea406920e1da5801 /share/man/man4
parent70ff420ae569289467e9bc23697c70297d368fce (diff)
Add a man page for /dev/zero.
Diffstat (limited to 'share/man/man4')
-rw-r--r--share/man/man4/Makefile4
-rw-r--r--share/man/man4/zero.446
2 files changed, 48 insertions, 2 deletions
diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile
index cb0343ba104..c02d957ba4e 100644
--- a/share/man/man4/Makefile
+++ b/share/man/man4/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.83 1999/11/09 00:03:03 aaron Exp $
+# $OpenBSD: Makefile,v 1.84 1999/11/09 22:38:15 aaron Exp $
# $NetBSD: Makefile,v 1.22.4.2 1996/07/18 00:51:10 jtc Exp $
MAN= ac97.4 atalk.4 atapiscsi.4 audio.4 adv.4 ahc.4 al.4 ax.4 bpf.4 \
@@ -12,7 +12,7 @@ MAN= ac97.4 atalk.4 atapiscsi.4 audio.4 adv.4 ahc.4 al.4 ax.4 bpf.4 \
rl.4 rln.4 rlphy.4 route.4 scsi.4 sd.4 sf.4 sk.4 sl.4 sm.4 spp.4 \
sppp.4 sqphy.4 ss.4 st.4 sv.4 tb.4 tcp.4 termios.4 ti.4 tl.4 tlphy.4 \
tp.4 tty.4 tun.4 tx.4 udp.4 ugen.4 uhid.4 uk.4 unix.4 usb.4 vnd.4 vr.4 \
- wb.4 wd.4 we.4 xl.4 ym.4
+ wb.4 wd.4 we.4 xl.4 ym.4 zero.4
MLINKS+=fd.4 stderr.4 fd.4 stdin.4 fd.4 stdout.4
MLINKS+=netintro.4 networking.4
diff --git a/share/man/man4/zero.4 b/share/man/man4/zero.4
new file mode 100644
index 00000000000..7b24f6661c7
--- /dev/null
+++ b/share/man/man4/zero.4
@@ -0,0 +1,46 @@
+.\" $OpenBSD: zero.4,v 1.1 1999/11/09 22:38:15 aaron Exp $
+.\"
+.\" Copyright (c) 1991, 1993
+.\" The Regents of the University of California. All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\" notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\" notice, this list of conditions and the following disclaimer in the
+.\" documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\" must display the following acknowledgement:
+.\" This product includes software developed by the University of
+.\" California, Berkeley and its contributors.
+.\" 4. Neither the name of the University nor the names of its contributors
+.\" may be used to endorse or promote products derived from this software
+.\" without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.Dd November 10, 1999
+.Dt ZERO 4
+.Os
+.Sh NAME
+.Nm zero
+.Nd the zero device
+.Sh DESCRIPTION
+The
+.Nm
+device provides an infinite stream of null (zero) bytes.
+.Sh FILES
+.Bl -tag -width /dev/zero
+.It Pa /dev/zero
+.El