summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2020-05-28 23:37:44 +0000
committerdlg <dlg@openbsd.org>2020-05-28 23:37:44 +0000
commit73b535ef4537e8454483912fc3420bc304759e96 (patch)
treeced2957ecb130012c7c5c7d3baa3c75479e8860b
parentEnable building wsmoused on arm64 and armv7. (diff)
downloadwireguard-openbsd-73b535ef4537e8454483912fc3420bc304759e96.tar.xz
wireguard-openbsd-73b535ef4537e8454483912fc3420bc304759e96.zip
people can't know ifq_deq_begin is discouraged unless it's actually stated.
-rw-r--r--share/man/man9/ifq_deq_begin.99
1 files changed, 6 insertions, 3 deletions
diff --git a/share/man/man9/ifq_deq_begin.9 b/share/man/man9/ifq_deq_begin.9
index 97e870a4f77..5c2105501f4 100644
--- a/share/man/man9/ifq_deq_begin.9
+++ b/share/man/man9/ifq_deq_begin.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ifq_deq_begin.9,v 1.2 2015/11/23 11:07:58 jmc Exp $
+.\" $OpenBSD: ifq_deq_begin.9,v 1.3 2020/05/28 23:37:44 dlg Exp $
.\"
.\" Copyright (c) 2015 David Gwynne <dlg@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: November 23 2015 $
+.Dd $Mdocdate: May 28 2020 $
.Dt IFQ_DEQ_BEGIN 9
.Os
.Sh NAME
@@ -33,7 +33,10 @@
.Sh DESCRIPTION
The ifq_deq_*
set of functions provides a non-atomic alternative to
-.Fn ifq_dequeue .
+.Xr ifq_dequeue 9 .
+Their use is discouraged, code should use
+.Xr ifq_dequeue 9
+whenever possible.
.Bl -tag -width Ds
.It Fn ifq_deq_begin "struct ifqueue *ifq"
Get a reference to the next mbuf to be transmitted from the