shithub: riscv

Download patch

ref: 3e98132fc613f8bbe0124225adc92a0fec2546e6
parent: 365e63b36a413703f5fcd0ed5ccbd79c3a53afbf
author: qwx <qwx@sciops.net>
date: Sun Oct 10 13:13:57 EDT 2021

addpt(2): fix inconsistency in description

--- a/sys/man/2/addpt
+++ b/sys/man/2/addpt
@@ -99,15 +99,15 @@
 .PP
 .I Rectaddpt
 returns the Rectangle
-.BI Rect(add( r .min,
+.BI Rpt(addpt( r .min,
 .IB p ) \f1,
-.BI add( r .max,
+.BI addpt( r .max,
 .IB p )) \f1;
 .I rectsubpt
 returns the Rectangle
-.BI Rpt(sub( r .min,
+.BI Rpt(subpt( r .min,
 .IB p ),
-.BI sub( r .max,
+.BI subpt( r .max,
 .IB p ))\fR.
 .PP
 .I Insetrect