From 71a62d6c3c56b2cec56858f19b8b419c1355db17 Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Sun, 8 Aug 2021 10:41:33 +0200 Subject: [PATCH] close_range.2: Glibc added a wrapper recently Fixes: c2356ba085ed4f748b81c0ceeba1811b4a549e1c Signed-off-by: Alejandro Colomar Signed-off-by: Michael Kerrisk --- 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