summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2023-02-09 12:10:04 -0600
committerAlejandro Colomar <alx@kernel.org>2023-02-10 02:21:04 +0100
commit57af58d96baae3d105e0d3184e6af07913165922 (patch)
tree66747cffdba07b4aab2cf542e8e458f2f253ba8f
parente4b0116296e40a82a2cdd5208310ab3f6254b208 (diff)
close_range.2: srcfix (~ -> \[ti])
Use correct *roff special character for ("ASCII") tilde. There are other occurrences in bpf-helpers.7, but those will have to await improvement of the tool that generates man(7) from the source language. Signed-off-by: G. Branden Robinson <g.branden.robinson@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man2/close_range.24
1 files changed, 2 insertions, 2 deletions
diff --git a/man2/close_range.2 b/man2/close_range.2
index dd9406ddc..9dd7ccb8a 100644
--- a/man2/close_range.2
+++ b/man2/close_range.2
@@ -102,7 +102,7 @@ File descriptors can be closed safely using
.in +4n
.EX
/* we don't want anything past stderr here */
-close_range(3, ~0U, CLOSE_RANGE_UNSHARE);
+close_range(3, \[ti]0U, CLOSE_RANGE_UNSHARE);
execve(....);
.EE
.in
@@ -123,7 +123,7 @@ the current maximum number of file descriptors allocated
in the caller's file descriptor table
(the common case when
.I last
-is ~0U),
+is \[ti]0U),
the kernel will unshare a new file descriptor table for the caller up to
.IR first ,
copying as few file descriptors as possible.