Thread (60 messages) 60 messages, 5 authors, 2021-10-17

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

From: Michael Kerrisk (man-pages) <hidden>
Date: 2021-08-08 20:58:38

Hi Alex,

On 8/8/21 10:41 AM, Alejandro Colomar wrote:
Fixes: c2356ba085ed4f748b81c0ceeba1811b4a549e1c
Signed-off-by: Alejandro Colomar <redacted>
Thanks. Applied.

Cheers,

Michael
quoted hunk ↗ jump to hunk
---
 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

-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help