summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/tsearch.3
diff options
context:
space:
mode:
authormmcc <>2016-03-12 21:31:22 +0000
committermmcc <>2016-03-12 21:31:22 +0000
commitd692c27f466b0683d4f7dd5f72058e64e04f0cd4 (patch)
tree41d48a54c09f49f4e37617cd4f79d217bf4250a8 /src/lib/libc/stdlib/tsearch.3
parentb5aa7e790e535fc940826232ac1bf67aeb800cb0 (diff)
downloadopenbsd-d692c27f466b0683d4f7dd5f72058e64e04f0cd4.tar.gz
openbsd-d692c27f466b0683d4f7dd5f72058e64e04f0cd4.tar.bz2
openbsd-d692c27f466b0683d4f7dd5f72058e64e04f0cd4.zip
Remove sentences in RETURN VALUES sections saying that functions with
void return types 'return no value'. This is obvious and therefore unneccessary to mention. We spare rewind(3)'s sentence because espie@ pointed out that it's a warning - the function masks a potential error. This commit also adds a sentence to X509_free clarifying that it's NULL-safe. This bit was discussed with doug@. ok martijn@, sentiment supported by schwarze@
Diffstat (limited to 'src/lib/libc/stdlib/tsearch.3')
-rw-r--r--src/lib/libc/stdlib/tsearch.38
1 files changed, 2 insertions, 6 deletions
diff --git a/src/lib/libc/stdlib/tsearch.3 b/src/lib/libc/stdlib/tsearch.3
index 46d0bba10c..2027f163e4 100644
--- a/src/lib/libc/stdlib/tsearch.3
+++ b/src/lib/libc/stdlib/tsearch.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: tsearch.3,v 1.19 2013/06/05 03:39:23 tedu Exp $ 1.\" $OpenBSD: tsearch.3,v 1.20 2016/03/12 21:31:22 mmcc Exp $
2.\" 2.\"
3.\" Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com> 3.\" Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com>
4.\" 4.\"
@@ -14,7 +14,7 @@
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\" 16.\"
17.Dd $Mdocdate: June 5 2013 $ 17.Dd $Mdocdate: March 12 2016 $
18.Dt TSEARCH 3 18.Dt TSEARCH 3
19.Os 19.Os
20.Sh NAME 20.Sh NAME
@@ -111,10 +111,6 @@ if
111is 111is
112.Dv NULL 112.Dv NULL
113or the datum cannot be found. 113or the datum cannot be found.
114.Pp
115The
116.Fn twalk
117function returns no value.
118.Sh SEE ALSO 114.Sh SEE ALSO
119.Xr bsearch 3 , 115.Xr bsearch 3 ,
120.Xr lsearch 3 116.Xr lsearch 3