[PATCH 23/23] close_range.2: Glibc added a wrapper recently

Alejandro Colomar
2021-08-08T08:42:14Z

Fixes: c2356ba085ed4f748b81c0ceeba1811b4a549e1c
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
---
man2/close_range.2 | 5 -----
1 file changed, 5 deletions(-)

diff --git a/man2/close_range.2 b/man2/close_range.2
index ca84dc448..0bb5de436 100644
--- a/man2/close_range.2
+++ b/man2/close_range.2
@@ -33,9 +33,6 @@ close_range \- close all file descriptors in a given range
.BI "int close_range(unsigned int " first ", unsigned int " last ,
.BI " unsigned int " flags );
.fi
-.PP
-.IR Note :
-There is no glibc wrapper for this system call; see NOTES.
.SH DESCRIPTION
The
.BR close_range ()
@@ -100,8 +97,6 @@ Library support was added in glibc in version 2.34.
.BR close_range ()
is a nonstandard function that is also present on FreeBSD.
.SH NOTES
-Glibc does not provide a wrapper for this system call; call it using
-.BR syscall (2).
.SS Closing all open file descriptors
.\" 278a5fbaed89dacd04e9d052f4594ffd0e0585de
To avoid blindly closing file descriptors
--
2.32.0