From 98b840553518c3688424f51dfd8db52600122ad0 Mon Sep 17 00:00:00 2001 From: guenther Date: Mon, 19 Dec 2022 03:49:42 +0000 Subject: [PATCH] Add pselect(2), recvmmsg(2), sendmmsg(2), and waitid(2) to the lists of built-in cancelation points. --- lib/libc/sys/intro.2 | 7 ++++--- lib/libpthread/man/pthread_testcancel.3 | 8 ++++++-- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/lib/libc/sys/intro.2 b/lib/libc/sys/intro.2 index 11b087d725f..cbcabb0643c 100644 --- a/lib/libc/sys/intro.2 +++ b/lib/libc/sys/intro.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: intro.2,v 1.70 2021/01/03 18:10:27 rob Exp $ +.\" $OpenBSD: intro.2,v 1.71 2022/12/19 03:49:42 guenther Exp $ .\" $NetBSD: intro.2,v 1.6 1995/02/27 12:33:41 cgd Exp $ .\" .\" Copyright (c) 1980, 1983, 1986, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)intro.2 8.3 (Berkeley) 12/11/93 .\" -.Dd $Mdocdate: January 3 2021 $ +.Dd $Mdocdate: December 19 2022 $ .Dt INTRO 2 .Os .Sh NAME @@ -123,7 +123,8 @@ or a read (write) request was made to a file that was only open for writing (reading). .It Er 10 ECHILD Em "\&No child processes" . A -.Xr wait 2 +.Xr wait 2 , +.Xr waitid 2 , or .Xr waitpid 2 function was executed by a process that had no existing or unwaited-for diff --git a/lib/libpthread/man/pthread_testcancel.3 b/lib/libpthread/man/pthread_testcancel.3 index baab5af2057..61a10a118ba 100644 --- a/lib/libpthread/man/pthread_testcancel.3 +++ b/lib/libpthread/man/pthread_testcancel.3 @@ -1,9 +1,9 @@ -.\" $OpenBSD: pthread_testcancel.3,v 1.16 2014/08/31 20:23:10 guenther Exp $ +.\" $OpenBSD: pthread_testcancel.3,v 1.17 2022/12/19 03:49:42 guenther Exp $ .\" .\" .\" David Leonard, 1999. Public Domain. .\" -.Dd $Mdocdate: August 31 2014 $ +.Dd $Mdocdate: December 19 2022 $ .Dt PTHREAD_TESTCANCEL 3 .Os .Sh NAME @@ -117,6 +117,7 @@ base interfaces: .Fn pause , .Fn poll , .Fn pread , +.Fn pselect , .Fn pthread_cond_timedwait , .Fn pthread_cond_wait , .Fn pthread_join , @@ -139,6 +140,7 @@ base interfaces: .Fn system , .Fn tcdrain , .Fn wait , +.Fn waitid , .Fn waitpid , .Fn write , .Fn writev . @@ -151,6 +153,8 @@ extension interfaces: .Fn ppoll , .Fn preadv , .Fn pwritev , +.Fn recvmmsg , +.Fn sendmmsg , .Fn wait3 , .Fn wait4 . .Sh RETURN VALUES -- 2.20.1