aboutsummaryrefslogtreecommitdiffstats
path: root/man/man7
diff options
context:
space:
mode:
Diffstat (limited to 'man/man7')
-rw-r--r--man/man7/aio.730
-rw-r--r--man/man7/ascii.724
-rw-r--r--man/man7/cgroups.72
-rw-r--r--man/man7/charsets.72
-rw-r--r--man/man7/complex.72
-rw-r--r--man/man7/cpuset.72
-rw-r--r--man/man7/environ.72
-rw-r--r--man/man7/fanotify.740
-rw-r--r--man/man7/feature_test_macros.734
-rw-r--r--man/man7/glob.74
-rw-r--r--man/man7/inode.72
-rw-r--r--man/man7/inotify.718
-rw-r--r--man/man7/locale.72
-rw-r--r--man/man7/man-pages.718
-rw-r--r--man/man7/mount_namespaces.712
-rw-r--r--man/man7/packet.72
-rw-r--r--man/man7/pkeys.76
-rw-r--r--man/man7/pthreads.74
-rw-r--r--man/man7/regex.720
-rw-r--r--man/man7/rtld-audit.722
-rw-r--r--man/man7/sock_diag.716
-rw-r--r--man/man7/system_data_types.76
-rw-r--r--man/man7/unix.78
-rw-r--r--man/man7/user_namespaces.768
-rw-r--r--man/man7/utf-8.78
25 files changed, 177 insertions, 177 deletions
diff --git a/man/man7/aio.7 b/man/man7/aio.7
index 513fbbb739..eca1ae3fad 100644
--- a/man/man7/aio.7
+++ b/man/man7/aio.7
@@ -189,7 +189,7 @@ the program retrieves their status using
.P
The
.B SIGQUIT
-signal (generated by typing control-\e) causes the program to request
+signal (generated by typing control-\[rs]) causes the program to request
cancelation of each of the outstanding requests using
.BR aio_cancel (3).
.P
@@ -261,7 +261,7 @@ static void /* Handler for I/O completion signal */
aioSigHandler(int sig, siginfo_t *si, void *ucontext)
{
if (si\->si_code == SI_ASYNCIO) {
- write(STDOUT_FILENO, "I/O completion signal received\en", 31);
+ write(STDOUT_FILENO, "I/O completion signal received\[rs]n", 31);
\&
/* The corresponding ioRequest structure would be available as
struct ioRequest *ioReq = si\->si_value.sival_ptr;
@@ -279,7 +279,7 @@ main(int argc, char *argv[])
int openReqs; /* Number of I/O requests still in progress */
\&
if (argc < 2) {
- fprintf(stderr, "Usage: %s <pathname> <pathname>...\en",
+ fprintf(stderr, "Usage: %s <pathname> <pathname>...\[rs]n",
argv[0]);
exit(EXIT_FAILURE);
}
@@ -321,7 +321,7 @@ main(int argc, char *argv[])
ioList[j].aiocbp\->aio_fildes = open(argv[j + 1], O_RDONLY);
if (ioList[j].aiocbp\->aio_fildes == \-1)
errExit("open");
- printf("opened %s on descriptor %d\en", argv[j + 1],
+ printf("opened %s on descriptor %d\[rs]n", argv[j + 1],
ioList[j].aiocbp\->aio_fildes);
\&
ioList[j].aiocbp\->aio_buf = malloc(BUF_SIZE);
@@ -354,7 +354,7 @@ main(int argc, char *argv[])
outstanding I/O requests, and display status returned
from the cancelation requests. */
\&
- printf("got SIGQUIT; canceling I/O requests: \en");
+ printf("got SIGQUIT; canceling I/O requests: \[rs]n");
\&
for (size_t j = 0; j < numReqs; j++) {
if (ioList[j].status == EINPROGRESS) {
@@ -363,11 +363,11 @@ main(int argc, char *argv[])
s = aio_cancel(ioList[j].aiocbp\->aio_fildes,
ioList[j].aiocbp);
if (s == AIO_CANCELED)
- printf("I/O canceled\en");
+ printf("I/O canceled\[rs]n");
else if (s == AIO_NOTCANCELED)
- printf("I/O not canceled\en");
+ printf("I/O not canceled\[rs]n");
else if (s == AIO_ALLDONE)
- printf("I/O all done\en");
+ printf("I/O all done\[rs]n");
else
perror("aio_cancel");
}
@@ -379,7 +379,7 @@ main(int argc, char *argv[])
/* Check the status of each I/O request that is still
in progress. */
\&
- printf("aio_error():\en");
+ printf("aio_error():\[rs]n");
for (size_t j = 0; j < numReqs; j++) {
if (ioList[j].status == EINPROGRESS) {
printf(" for request %zu (descriptor %d): ",
@@ -388,13 +388,13 @@ main(int argc, char *argv[])
\&
switch (ioList[j].status) {
case 0:
- printf("I/O succeeded\en");
+ printf("I/O succeeded\[rs]n");
break;
case EINPROGRESS:
- printf("In progress\en");
+ printf("In progress\[rs]n");
break;
case ECANCELED:
- printf("Canceled\en");
+ printf("Canceled\[rs]n");
break;
default:
perror("aio_error");
@@ -407,16 +407,16 @@ main(int argc, char *argv[])
}
}
\&
- printf("All I/O requests completed\en");
+ printf("All I/O requests completed\[rs]n");
\&
/* Check status return of all I/O requests. */
\&
- printf("aio_return():\en");
+ printf("aio_return():\[rs]n");
for (size_t j = 0; j < numReqs; j++) {
ssize_t s;
\&
s = aio_return(ioList[j].aiocbp);
- printf(" for request %zu (descriptor %d): %zd\en",
+ printf(" for request %zu (descriptor %d): %zd\[rs]n",
j, ioList[j].aiocbp\->aio_fildes, s);
}
\&
diff --git a/man/man7/ascii.7 b/man/man7/ascii.7
index ab95c4749a..0742647761 100644
--- a/man/man7/ascii.7
+++ b/man/man7/ascii.7
@@ -25,27 +25,27 @@ The international counterpart of ASCII is known as ISO/IEC\~646-IRV.
.P
The following table contains the 128 ASCII characters.
.P
-C program \f(CW\[aq]\eX\[aq]\fP escapes are noted.
+C program \f(CW\[aq]\[rs]X\[aq]\fP escapes are noted.
.P
.EX
.TS
l l l l | l l l l.
Oct Dec Hex Char Oct Dec Hex Char
_
-000 0 00 NUL \[aq]\e0\[aq] (null character) 100 64 40 @
+000 0 00 NUL \[aq]\[rs]0\[aq] (null character) 100 64 40 @
001 1 01 SOH (start of heading) 101 65 41 A
002 2 02 STX (start of text) 102 66 42 B
003 3 03 ETX (end of text) 103 67 43 C
004 4 04 EOT (end of transmission) 104 68 44 D
005 5 05 ENQ (enquiry) 105 69 45 E
006 6 06 ACK (acknowledge) 106 70 46 F
-007 7 07 BEL \[aq]\ea\[aq] (bell) 107 71 47 G
-010 8 08 BS \[aq]\eb\[aq] (backspace) 110 72 48 H
-011 9 09 HT \[aq]\et\[aq] (horizontal tab) 111 73 49 I
-012 10 0A LF \[aq]\en\[aq] (new line) 112 74 4A J
-013 11 0B VT \[aq]\ev\[aq] (vertical tab) 113 75 4B K
-014 12 0C FF \[aq]\ef\[aq] (form feed) 114 76 4C L
-015 13 0D CR \[aq]\er\[aq] (carriage ret) 115 77 4D M
+007 7 07 BEL \[aq]\[rs]a\[aq] (bell) 107 71 47 G
+010 8 08 BS \[aq]\[rs]b\[aq] (backspace) 110 72 48 H
+011 9 09 HT \[aq]\[rs]t\[aq] (horizontal tab) 111 73 49 I
+012 10 0A LF \[aq]\[rs]n\[aq] (new line) 112 74 4A J
+013 11 0B VT \[aq]\[rs]v\[aq] (vertical tab) 113 75 4B K
+014 12 0C FF \[aq]\[rs]f\[aq] (form feed) 114 76 4C L
+015 13 0D CR \[aq]\[rs]r\[aq] (carriage ret) 115 77 4D M
016 14 0E SO (shift out) 116 78 4E N
017 15 0F SI (shift in) 117 79 4F O
020 16 10 DLE (data link escape) 120 80 50 P
@@ -60,7 +60,7 @@ _
031 25 19 EM (end of medium) 131 89 59 Y
032 26 1A SUB (substitute) 132 90 5A Z
033 27 1B ESC (escape) 133 91 5B [
-034 28 1C FS (file separator) 134 92 5C \e \[aq]\e\e\[aq]
+034 28 1C FS (file separator) 134 92 5C \[rs] \[aq]\[rs]\[rs]\[aq]
035 29 1D GS (group separator) 135 93 5D ]
036 30 1E RS (record separator) 136 94 5E \[ha]
037 31 1F US (unit separator) 137 95 5F \&_
@@ -106,7 +106,7 @@ For convenience, below are more compact tables in hex and decimal.
------------- ---------------------------------
0: 0 @ P \` p 0: ( 2 < F P Z d n x
1: ! 1 A Q a q 1: ) 3 = G Q [ e o y
-2: " 2 B R b r 2: * 4 > H R \e f p z
+2: " 2 B R b r 2: * 4 > H R \[rs] f p z
3: # 3 C S c s 3: ! + 5 ? I S ] g q {
4: $ 4 D T d t 4: " , 6 @ J T \[ha] h r |
5: % 5 E U e u 5: # \- 7 A K U _ i s }
@@ -116,7 +116,7 @@ For convenience, below are more compact tables in hex and decimal.
9: ) 9 I Y i y 9: \[aq] 1 ; E O Y c m w
A: * : J Z j z
B: + ; K [ k {
-C: , < L \e l |
+C: , < L \[rs] l |
D: \- = M ] m }
E: . > N \[ha] n \[ti]
F: / ? O _ o DEL
diff --git a/man/man7/cgroups.7 b/man/man7/cgroups.7
index 877aae03f9..cfa60e0670 100644
--- a/man/man7/cgroups.7
+++ b/man/man7/cgroups.7
@@ -1098,7 +1098,7 @@ option as follows:
.P
.in +4n
.EX
-mount \-t cgroup2 \-o remount,nsdelegate \e
+mount \-t cgroup2 \-o remount,nsdelegate \[rs]
none /sys/fs/cgroup/unified
.EE
.in
diff --git a/man/man7/charsets.7 b/man/man7/charsets.7
index 8fa803b5fa..603d3ac7b0 100644
--- a/man/man7/charsets.7
+++ b/man/man7/charsets.7
@@ -311,7 +311,7 @@ any other byte is the head of a code.
Note that the only way ASCII bytes occur in a UTF-8 stream,
is as themselves.
In particular,
-there are no embedded NULs (\[aq]\e0\[aq]) or \[aq]/\[aq]s
+there are no embedded NULs (\[aq]\[rs]0\[aq]) or \[aq]/\[aq]s
that form part of some larger code.
.P
Since ASCII, and, in particular, NUL and \[aq]/\[aq], are unchanged, the
diff --git a/man/man7/complex.7 b/man/man7/complex.7
index fa8cb2631c..840e78ad3d 100644
--- a/man/man7/complex.7
+++ b/man/man7/complex.7
@@ -51,7 +51,7 @@ main(void)
{
double pi = 4 * atan(1.0);
double complex z = cexp(I * pi);
- printf("%f + %f * i\en", creal(z), cimag(z));
+ printf("%f + %f * i\[rs]n", creal(z), cimag(z));
}
.EE
.SH SEE ALSO
diff --git a/man/man7/cpuset.7 b/man/man7/cpuset.7
index 7ae130ebb0..8437386e99 100644
--- a/man/man7/cpuset.7
+++ b/man/man7/cpuset.7
@@ -515,7 +515,7 @@ Unless memory pressure calculation is enabled by setting the pseudo-file
.IR /dev/cpuset/cpuset.memory_pressure_enabled ,
it is not computed for any cpuset, and reads from any
.I memory_pressure
-always return zero, as represented by the ASCII string "0\en".
+always return zero, as represented by the ASCII string "0\[rs]n".
See the \fBWARNINGS\fR section, below.
.P
A per-cpuset, running average is employed for the following reasons:
diff --git a/man/man7/environ.7 b/man/man7/environ.7
index f98359a3f5..6b4a8bb60f 100644
--- a/man/man7/environ.7
+++ b/man/man7/environ.7
@@ -39,7 +39,7 @@ have the form "\fIname\fP\fB=\fP\fIvalue\fP".
The name is case-sensitive and may not contain
the character "\fB=\fP".
The value can be anything that can be represented as a string.
-The name and the value may not contain an embedded null byte (\[aq]\e0\[aq]),
+The name and the value may not contain an embedded null byte (\[aq]\[rs]0\[aq]),
since this is assumed to terminate the string.
.P
Environment variables may be placed in the shell's environment by the
diff --git a/man/man7/fanotify.7 b/man/man7/fanotify.7
index 07e445546b..3733543013 100644
--- a/man/man7/fanotify.7
+++ b/man/man7/fanotify.7
@@ -1090,7 +1090,7 @@ handle_events(int fd)
\&
if (metadata\->vers != FANOTIFY_METADATA_VERSION) {
fprintf(stderr,
- "Mismatch of fanotify metadata version.\en");
+ "Mismatch of fanotify metadata version.\[rs]n");
exit(EXIT_FAILURE);
}
\&
@@ -1128,8 +1128,8 @@ handle_events(int fd)
exit(EXIT_FAILURE);
}
\&
- path[path_len] = \[aq]\e0\[aq];
- printf("File %s\en", path);
+ path[path_len] = \[aq]\[rs]0\[aq];
+ printf("File %s\[rs]n", path);
\&
/* Close the file descriptor of the event. */
\&
@@ -1154,11 +1154,11 @@ main(int argc, char *argv[])
/* Check mount point is supplied. */
\&
if (argc != 2) {
- fprintf(stderr, "Usage: %s MOUNT\en", argv[0]);
+ fprintf(stderr, "Usage: %s MOUNT\[rs]n", argv[0]);
exit(EXIT_FAILURE);
}
\&
- printf("Press enter key to terminate.\en");
+ printf("Press enter key to terminate.\[rs]n");
\&
/* Create the file descriptor for accessing the fanotify API. */
\&
@@ -1193,7 +1193,7 @@ main(int argc, char *argv[])
\&
/* This is the loop to wait for incoming events. */
\&
- printf("Listening for events.\en");
+ printf("Listening for events.\[rs]n");
\&
while (1) {
poll_num = poll(fds, nfds, \-1);
@@ -1210,7 +1210,7 @@ main(int argc, char *argv[])
\&
/* Console input is available: empty stdin and quit. */
\&
- while (read(STDIN_FILENO, &buf, 1) > 0 && buf != \[aq]\en\[aq])
+ while (read(STDIN_FILENO, &buf, 1) > 0 && buf != \[aq]\[rs]n\[aq])
continue;
break;
}
@@ -1224,7 +1224,7 @@ main(int argc, char *argv[])
}
}
\&
- printf("Listening for events stopped.\en");
+ printf("Listening for events stopped.\[rs]n");
exit(EXIT_SUCCESS);
}
.EE
@@ -1322,7 +1322,7 @@ main(int argc, char *argv[])
struct stat sb;
\&
if (argc != 2) {
- fprintf(stderr, "Invalid number of command line arguments.\en");
+ fprintf(stderr, "Invalid number of command line arguments.\[rs]n");
exit(EXIT_FAILURE);
}
\&
@@ -1352,7 +1352,7 @@ main(int argc, char *argv[])
exit(EXIT_FAILURE);
}
\&
- printf("Listening for events.\en");
+ printf("Listening for events.\[rs]n");
\&
/* Read events from the event queue into a buffer. */
\&
@@ -1379,15 +1379,15 @@ main(int argc, char *argv[])
file_name = file_handle\->f_handle +
file_handle\->handle_bytes;
} else {
- fprintf(stderr, "Received unexpected event info type.\en");
+ fprintf(stderr, "Received unexpected event info type.\[rs]n");
exit(EXIT_FAILURE);
}
\&
if (metadata\->mask == FAN_CREATE)
- printf("FAN_CREATE (file created):\en");
+ printf("FAN_CREATE (file created):\[rs]n");
\&
if (metadata\->mask == (FAN_CREATE | FAN_ONDIR))
- printf("FAN_CREATE | FAN_ONDIR (subdirectory created):\en");
+ printf("FAN_CREATE | FAN_ONDIR (subdirectory created):\[rs]n");
\&
/* metadata\->fd is set to FAN_NOFD when the group identifies
objects by file handles. To obtain a file descriptor for
@@ -1402,7 +1402,7 @@ main(int argc, char *argv[])
if (event_fd == \-1) {
if (errno == ESTALE) {
printf("File handle is no longer valid. "
- "File has been deleted\en");
+ "File has been deleted\[rs]n");
continue;
} else {
perror("open_by_handle_at");
@@ -1421,8 +1421,8 @@ main(int argc, char *argv[])
exit(EXIT_FAILURE);
}
\&
- path[path_len] = \[aq]\e0\[aq];
- printf("\etDirectory \[aq]%s\[aq] has been modified.\en", path);
+ path[path_len] = \[aq]\[rs]0\[aq];
+ printf("\[rs]tDirectory \[aq]%s\[aq] has been modified.\[rs]n", path);
\&
if (file_name) {
ret = fstatat(event_fd, file_name, &sb, 0);
@@ -1431,11 +1431,11 @@ main(int argc, char *argv[])
perror("fstatat");
exit(EXIT_FAILURE);
}
- printf("\etEntry \[aq]%s\[aq] does not exist.\en", file_name);
+ printf("\[rs]tEntry \[aq]%s\[aq] does not exist.\[rs]n", file_name);
} else if ((sb.st_mode & S_IFMT) == S_IFDIR) {
- printf("\etEntry \[aq]%s\[aq] is a subdirectory.\en", file_name);
+ printf("\[rs]tEntry \[aq]%s\[aq] is a subdirectory.\[rs]n", file_name);
} else {
- printf("\etEntry \[aq]%s\[aq] is not a subdirectory.\en",
+ printf("\[rs]tEntry \[aq]%s\[aq] is not a subdirectory.\[rs]n",
file_name);
}
}
@@ -1445,7 +1445,7 @@ main(int argc, char *argv[])
close(event_fd);
}
\&
- printf("All events processed successfully. Program exiting.\en");
+ printf("All events processed successfully. Program exiting.\[rs]n");
exit(EXIT_SUCCESS);
}
.EE
diff --git a/man/man7/feature_test_macros.7 b/man/man7/feature_test_macros.7
index e705445a1e..5dbc3c2fc0 100644
--- a/man/man7/feature_test_macros.7
+++ b/man/man7/feature_test_macros.7
@@ -854,72 +854,72 @@ int
main(int argc, char *argv[])
{
#ifdef _POSIX_SOURCE
- printf("_POSIX_SOURCE defined\en");
+ printf("_POSIX_SOURCE defined\[rs]n");
#endif
\&
#ifdef _POSIX_C_SOURCE
- printf("_POSIX_C_SOURCE defined: %jdL\en",
+ printf("_POSIX_C_SOURCE defined: %jdL\[rs]n",
(intmax_t) _POSIX_C_SOURCE);
#endif
\&
#ifdef _ISOC99_SOURCE
- printf("_ISOC99_SOURCE defined\en");
+ printf("_ISOC99_SOURCE defined\[rs]n");
#endif
\&
#ifdef _ISOC11_SOURCE
- printf("_ISOC11_SOURCE defined\en");
+ printf("_ISOC11_SOURCE defined\[rs]n");
#endif
\&
#ifdef _XOPEN_SOURCE
- printf("_XOPEN_SOURCE defined: %d\en", _XOPEN_SOURCE);
+ printf("_XOPEN_SOURCE defined: %d\[rs]n", _XOPEN_SOURCE);
#endif
\&
#ifdef _XOPEN_SOURCE_EXTENDED
- printf("_XOPEN_SOURCE_EXTENDED defined\en");
+ printf("_XOPEN_SOURCE_EXTENDED defined\[rs]n");
#endif
\&
#ifdef _LARGEFILE64_SOURCE
- printf("_LARGEFILE64_SOURCE defined\en");
+ printf("_LARGEFILE64_SOURCE defined\[rs]n");
#endif
\&
#ifdef _FILE_OFFSET_BITS
- printf("_FILE_OFFSET_BITS defined: %d\en", _FILE_OFFSET_BITS);
+ printf("_FILE_OFFSET_BITS defined: %d\[rs]n", _FILE_OFFSET_BITS);
#endif
\&
#ifdef _TIME_BITS
- printf("_TIME_BITS defined: %d\en", _TIME_BITS);
+ printf("_TIME_BITS defined: %d\[rs]n", _TIME_BITS);
#endif
\&
#ifdef _BSD_SOURCE
- printf("_BSD_SOURCE defined\en");
+ printf("_BSD_SOURCE defined\[rs]n");
#endif
\&
#ifdef _SVID_SOURCE
- printf("_SVID_SOURCE defined\en");
+ printf("_SVID_SOURCE defined\[rs]n");
#endif
\&
#ifdef _DEFAULT_SOURCE
- printf("_DEFAULT_SOURCE defined\en");
+ printf("_DEFAULT_SOURCE defined\[rs]n");
#endif
\&
#ifdef _ATFILE_SOURCE
- printf("_ATFILE_SOURCE defined\en");
+ printf("_ATFILE_SOURCE defined\[rs]n");
#endif
\&
#ifdef _GNU_SOURCE
- printf("_GNU_SOURCE defined\en");
+ printf("_GNU_SOURCE defined\[rs]n");
#endif
\&
#ifdef _REENTRANT
- printf("_REENTRANT defined\en");
+ printf("_REENTRANT defined\[rs]n");
#endif
\&
#ifdef _THREAD_SAFE
- printf("_THREAD_SAFE defined\en");
+ printf("_THREAD_SAFE defined\[rs]n");
#endif
\&
#ifdef _FORTIFY_SOURCE
- printf("_FORTIFY_SOURCE defined\en");
+ printf("_FORTIFY_SOURCE defined\[rs]n");
#endif
\&
exit(EXIT_SUCCESS);
diff --git a/man/man7/glob.7 b/man/man7/glob.7
index 6217b2c3e0..82766f69d1 100644
--- a/man/man7/glob.7
+++ b/man/man7/glob.7
@@ -70,8 +70,8 @@ or,
in case this is part of a shell command line,
enclosing them in quotes.
Between brackets these characters stand for themselves.
-Thus, "\fI[[?*\e]\fP" matches the
-four characters \[aq][\[aq], \[aq]?\[aq], \[aq]*\[aq], and \[aq]\e\[aq].
+Thus, "\fI[[?*\[rs]]\fP" matches the
+four characters \[aq][\[aq], \[aq]?\[aq], \[aq]*\[aq], and \[aq]\[rs]\[aq].
.SS Pathnames
Globbing is applied on each of the components of a pathname
separately.
diff --git a/man/man7/inode.7 b/man/man7/inode.7
index 45bf714671..497e30e8a8 100644
--- a/man/man7/inode.7
+++ b/man/man7/inode.7
@@ -471,7 +471,7 @@ while various files under
.I /sys
report a size of 4096 bytes, even though the file content is smaller.
For such files, one should simply try to read as many bytes as possible
-(and append \[aq]\e0\[aq] to the returned buffer
+(and append \[aq]\[rs]0\[aq] to the returned buffer
if it is to be interpreted as a string).
.SH SEE ALSO
.BR stat (1),
diff --git a/man/man7/inotify.7 b/man/man7/inotify.7
index bd3972f806..8ce99a6d18 100644
--- a/man/man7/inotify.7
+++ b/man/man7/inotify.7
@@ -126,7 +126,7 @@ field is present only when an event is returned
for a file inside a watched directory;
it identifies the filename within the watched directory.
This filename is null-terminated,
-and may include further null bytes (\[aq]\e0\[aq])
+and may include further null bytes (\[aq]\[rs]0\[aq])
to align subsequent reads to a suitable address boundary.
.P
The
@@ -980,9 +980,9 @@ handle_events(int fd, int *wd, int argc, char* argv[])
/* Print type of filesystem object. */
\&
if (event\->mask & IN_ISDIR)
- printf(" [directory]\en");
+ printf(" [directory]\[rs]n");
else
- printf(" [file]\en");
+ printf(" [file]\[rs]n");
}
}
}
@@ -997,11 +997,11 @@ main(int argc, char* argv[])
struct pollfd fds[2];
\&
if (argc < 2) {
- printf("Usage: %s PATH [PATH ...]\en", argv[0]);
+ printf("Usage: %s PATH [PATH ...]\[rs]n", argv[0]);
exit(EXIT_FAILURE);
}
\&
- printf("Press ENTER key to terminate.\en");
+ printf("Press ENTER key to terminate.\[rs]n");
\&
/* Create the file descriptor for accessing the inotify API. */
\&
@@ -1027,7 +1027,7 @@ main(int argc, char* argv[])
wd[i] = inotify_add_watch(fd, argv[i],
IN_OPEN | IN_CLOSE);
if (wd[i] == \-1) {
- fprintf(stderr, "Cannot watch \[aq]%s\[aq]: %s\en",
+ fprintf(stderr, "Cannot watch \[aq]%s\[aq]: %s\[rs]n",
argv[i], strerror(errno));
exit(EXIT_FAILURE);
}
@@ -1045,7 +1045,7 @@ main(int argc, char* argv[])
\&
/* Wait for events and/or terminal input. */
\&
- printf("Listening for events.\en");
+ printf("Listening for events.\[rs]n");
while (1) {
poll_num = poll(fds, nfds, \-1);
if (poll_num == \-1) {
@@ -1061,7 +1061,7 @@ main(int argc, char* argv[])
\&
/* Console input is available. Empty stdin and quit. */
\&
- while (read(STDIN_FILENO, &buf, 1) > 0 && buf != \[aq]\en\[aq])
+ while (read(STDIN_FILENO, &buf, 1) > 0 && buf != \[aq]\[rs]n\[aq])
continue;
break;
}
@@ -1075,7 +1075,7 @@ main(int argc, char* argv[])
}
}
\&
- printf("Listening for events stopped.\en");
+ printf("Listening for events stopped.\[rs]n");
\&
/* Close inotify file descriptor. */
\&
diff --git a/man/man7/locale.7 b/man/man7/locale.7
index 5a418ae13a..8bee8ca3c1 100644
--- a/man/man7/locale.7
+++ b/man/man7/locale.7
@@ -263,7 +263,7 @@ struct lconv {
char *int_curr_symbol; /* First three chars are a currency
symbol from ISO 4217. Fourth char
is the separator. Fifth char
- is \[aq]\e0\[aq]. */
+ is \[aq]\[rs]0\[aq]. */
char *currency_symbol; /* Local currency symbol */
char *mon_decimal_point; /* Radix character */
char *mon_thousands_sep; /* Like \fIthousands_sep\fP above */
diff --git a/man/man7/man-pages.7 b/man/man7/man-pages.7
index 007b9e7a2f..dc117662f3 100644
--- a/man/man7/man-pages.7
+++ b/man/man7/man-pages.7
@@ -184,7 +184,7 @@ See
for important details of the line(s) that should follow the
\fB.SH NAME\fP command.
All words in this line (including the word immediately
-following the "\e\-") should be in lowercase,
+following the "\[rs]\-") should be in lowercase,
except where English or technical terminological convention
dictates otherwise.
.TP
@@ -464,7 +464,7 @@ and
(don't hyphenate)
directives.
Hyphenation of individual page names can be prevented
-by preceding words with the string "\e%".
+by preceding words with the string "\[rs]%".
.IP
Given the distributed, autonomous nature of FOSS projects
and their documentation, it is sometimes necessary\[em]and in many cases
@@ -611,7 +611,7 @@ The preferred way to write this in the source file is:
.BR fcntl ()
.EE
.P
-(Using this format, rather than the use of "\efB...\efP()"
+(Using this format, rather than the use of "\[rs]fB...\[rs]fP()"
makes it easier to write tools that parse man page source files.)
.\"
.SS Use semantic newlines
@@ -669,7 +669,7 @@ These represent a set of (normally) exclusive alternatives.
.TP
Bullet lists
Elements are preceded by bullet symbols
-.RB ( \e[bu] ).
+.RB ( \[rs][bu] ).
Anything that doesn't fit elsewhere is
usually covered by this type of list.
.TP
@@ -958,7 +958,7 @@ On the other hand,
is the
.IR "null byte" ,
a byte with the value 0, represented in C via the character constant
-.IR \[aq]\e0\[aq] .
+.IR \[aq]\[rs]0\[aq] .
.P
The preferred term for the pointer is "null pointer" or simply "NULL";
avoid writing "NULL pointer".
@@ -998,7 +998,7 @@ Always include periods in such abbreviations, as shown here.
In addition, "e.g." and "i.e." should always be followed by a comma.
.SS Em-dashes
The way to write an em-dash\[em]the glyph that appears
-at either end of this subphrase\[em]in *roff is with the macro "\e[em]".
+at either end of this subphrase\[em]in *roff is with the macro "\[rs][em]".
(On an ASCII terminal, an em-dash typically renders as two hyphens,
but in other typographical contexts it renders as a long dash.)
Em-dashes should be written
@@ -1073,7 +1073,7 @@ use the following form in the man page source:
.P
.in +4n
.EX
-\e\-
+\[rs]\-
.EE
.in
.P
@@ -1090,11 +1090,11 @@ To generate glyphs that when copied from rendered pages will
produce real minus signs when pasted into a terminal.
.P
To produce unslanted single quotes that render well in ASCII, UTF-8, and PDF,
-use "\e[aq]" ("apostrophe quote"); for example
+use "\[rs][aq]" ("apostrophe quote"); for example
.P
.in +4n
.EX
-\e[aq]C\e[aq]
+\[rs][aq]C\[rs][aq]
.EE
.in
.P
diff --git a/man/man7/mount_namespaces.7 b/man/man7/mount_namespaces.7
index 1f0a1b41f3..75ccfc80d0 100644
--- a/man/man7/mount_namespaces.7
+++ b/man/man7/mount_namespaces.7
@@ -1125,8 +1125,8 @@ in the following step:
.IP
.in +4n
.EX
-# \fBunshare \-\-user \-\-map\-root\-user \-\-mount \e\fP
- \fBstrace \-o /tmp/log \e\fP
+# \fBunshare \-\-user \-\-map\-root\-user \-\-mount \[rs]\fP
+ \fBstrace \-o /tmp/log \[rs]\fP
\fBumount /mnt/dir\fP
umount: /etc/shadow: not mounted.
# \fBgrep \[aq]\[ha]umount\[aq] /tmp/log\fP
@@ -1152,7 +1152,7 @@ less privileged mount namespace:
.in +4n
.EX
# \fBecho \[aq]aaaaa\[aq] > /tmp/a\fP # File to mount onto /etc/shadow
-# \fBunshare \-\-user \-\-map\-root\-user \-\-mount \e\fP
+# \fBunshare \-\-user \-\-map\-root\-user \-\-mount \[rs]\fP
\fBsh \-c \[aq]mount \-\-bind /tmp/a /etc/shadow; cat /etc/shadow\[aq]\fP
aaaaa
# \fBumount /etc/shadow\fP
@@ -1183,7 +1183,7 @@ and a small hierarchy of mounts underneath that mount.
.IP
.in +4n
.EX
-$ \fBPS1=\[aq]ns1# \[aq] sudo unshare \-\-user \-\-map\-root\-user \e\fP
+$ \fBPS1=\[aq]ns1# \[aq] sudo unshare \-\-user \-\-map\-root\-user \[rs]\fP
\fB\-\-mount \-\-propagation private bash\fP
ns1# \fBecho $$\fP # We need the PID of this shell later
778501
@@ -1207,7 +1207,7 @@ check the state of the propagated mounts rooted at
.IP
.in +4n
.EX
-ns1# \fBPS1=\[aq]ns2# \[aq] unshare \-\-user \-\-map\-root\-user \e\fP
+ns1# \fBPS1=\[aq]ns2# \[aq] unshare \-\-user \-\-map\-root\-user \[rs]\fP
\fB\-\-mount \-\-propagation unchanged bash\fP
ns2# \fBgrep /mnt /proc/self/mountinfo | sed \[aq]s/ \- .*//\[aq]\fP
1239 1204 8:5 /mnt /mnt rw,relatime master:344
@@ -1317,7 +1317,7 @@ a less privileged mount namespace, and indeed the kernel prevents this:
.EX
$ \fBsudo mkdir /mnt/dir\fP
$ \fBsudo mount \-\-bind \-o ro /some/path /mnt/dir\fP
-$ \fBsudo unshare \-\-user \-\-map\-root\-user \-\-mount \e\fP
+$ \fBsudo unshare \-\-user \-\-map\-root\-user \-\-mount \[rs]\fP
\fBmount \-o remount,rw /mnt/dir\fP
mount: /mnt/dir: permission denied.
.EE
diff --git a/man/man7/packet.7 b/man/man7/packet.7
index 513945eff5..2763275f7c 100644
--- a/man/man7/packet.7
+++ b/man/man7/packet.7
@@ -647,7 +647,7 @@ which is 16 bytes and describes the system limit for a network interface name.
This means the names of network devices longer than 14 bytes
will be truncated to fit into
.IR spkt_device .
-All these lengths include the terminating null byte (\[aq]\e0\[aq])).
+All these lengths include the terminating null byte (\[aq]\[rs]0\[aq])).
.P
Issues from this with old code typically show up with
very long interface names used by the
diff --git a/man/man7/pkeys.7 b/man/man7/pkeys.7
index 4fb814c991..843c139aa6 100644
--- a/man/man7/pkeys.7
+++ b/man/man7/pkeys.7
@@ -189,7 +189,7 @@ main(void)
* Put some random data into the page (still OK to touch).
*/
*buffer = __LINE__;
- printf("buffer contains: %d\en", *buffer);
+ printf("buffer contains: %d\[rs]n", *buffer);
\&
/*
* Allocate a protection key:
@@ -216,12 +216,12 @@ main(void)
if (status == \-1)
err(EXIT_FAILURE, "pkey_mprotect");
\&
- printf("about to read buffer again...\en");
+ printf("about to read buffer again...\[rs]n");
\&
/*
* This will crash, because we have disallowed access.
*/
- printf("buffer contains: %d\en", *buffer);
+ printf("buffer contains: %d\[rs]n", *buffer);
\&
status = pkey_free(pkey);
if (status == \-1)
diff --git a/man/man7/pthreads.7 b/man/man7/pthreads.7
index 81d0db0e10..bd4ea1c39e 100644
--- a/man/man7/pthreads.7
+++ b/man/man7/pthreads.7
@@ -865,7 +865,7 @@ be sufficient to determine the default threading implementation:
.P
.in +4n
.EX
-bash$ $( ldd /bin/ls | grep libc.so | awk \[aq]{print $3}\[aq] ) | \e
+bash$ $( ldd /bin/ls | grep libc.so | awk \[aq]{print $3}\[aq] ) | \[rs]
egrep \-i \[aq]threads|nptl\[aq]
Native POSIX Threads Library by Ulrich Drepper et al
.EE
@@ -888,7 +888,7 @@ For example:
.P
.in +4n
.EX
-bash$ $( LD_ASSUME_KERNEL=2.2.5 ldd /bin/ls | grep libc.so | \e
+bash$ $( LD_ASSUME_KERNEL=2.2.5 ldd /bin/ls | grep libc.so | \[rs]
awk \[aq]{print $3}\[aq] ) | egrep \-i \[aq]threads|nptl\[aq]
linuxthreads\-0.10 by Xavier Leroy
.EE
diff --git a/man/man7/regex.7 b/man/man7/regex.7
index a579dbe62d..c1e1966886 100644
--- a/man/man7/regex.7
+++ b/man/man7/regex.7
@@ -95,16 +95,16 @@ a \fIbracket expression\fR (see below),
\[aq].\[aq] (matching any single character),
\[aq]\[ha]\[aq] (matching the null string at the beginning of a line),
\[aq]$\[aq] (matching the null string at the end of a line),
-a \[aq]\e\[aq] followed by one of the characters "\fI\[ha].[$()|*+?{\e\fP"
+a \[aq]\[rs]\[aq] followed by one of the characters "\fI\[ha].[$()|*+?{\[rs]\fP"
(matching that character taken as an ordinary character),
-a \[aq]\e\[aq] followed by any other character\*(dg
+a \[aq]\[rs]\[aq] followed by any other character\*(dg
(matching that character taken as an ordinary character,
-as if the \[aq]\e\[aq] had not been present\*(dg),
+as if the \[aq]\[rs]\[aq] had not been present\*(dg),
or a single character with no other significance (matching that character).
A \[aq]{\[aq] followed by a character other than a digit
is an ordinary character,
not the beginning of a bound\*(dg.
-It is illegal to end an RE with \[aq]\e\[aq].
+It is illegal to end an RE with \[aq]\[rs]\[aq].
.P
A \fIbracket expression\fR is a list of characters enclosed in "\fI[]\fP".
It normally matches any single character from the list (but see below).
@@ -128,7 +128,7 @@ To use a literal \[aq]\-\[aq] as the first endpoint of a range,
enclose it in "\fI[.\fP" and "\fI.]\fP"
to make it a collating element (see below).
With the exception of these and some combinations using \[aq][\[aq] (see next
-paragraphs), all other special characters, including \[aq]\e\[aq], lose their
+paragraphs), all other special characters, including \[aq]\[rs]\[aq], lose their
special significance within a bracket expression.
.P
Within a bracket expression, a collating element (a character,
@@ -240,9 +240,9 @@ Obsolete ("basic") regular expressions differ in several respects.
\[aq]|\[aq], \[aq]+\[aq], and \[aq]?\[aq] are
ordinary characters and there is no equivalent
for their functionality.
-The delimiters for bounds are "\fI\e{\fP" and "\fI\e}\fP",
+The delimiters for bounds are "\fI\[rs]{\fP" and "\fI\[rs]}\fP",
with \[aq]{\[aq] and \[aq]}\[aq] by themselves ordinary characters.
-The parentheses for nested subexpressions are "\fI\e(\fP" and "\fI\e)\fP",
+The parentheses for nested subexpressions are "\fI\[rs](\fP" and "\fI\[rs])\fP",
with \[aq](\[aq] and \[aq])\[aq] by themselves ordinary characters.
\[aq]\[ha]\[aq] is an ordinary character except at the beginning of the
RE or\*(dg the beginning of a parenthesized subexpression,
@@ -253,12 +253,12 @@ RE or the beginning of a parenthesized subexpression
(after a possible leading \[aq]\[ha]\[aq]).
.P
Finally, there is one new type of atom, a \fIback reference\fR:
-\[aq]\e\[aq] followed by a nonzero decimal digit \fId\fR
+\[aq]\[rs]\[aq] followed by a nonzero decimal digit \fId\fR
matches the same sequence of characters
matched by the \fId\fRth parenthesized subexpression
(numbering subexpressions by the positions of their opening parentheses,
left to right),
-so that, for example, "\fI\e([bc]\e)\e1\fP" matches "bb" or "cc" but not "bc".
+so that, for example, "\fI\[rs]([bc]\[rs])\[rs]1\fP" matches "bb" or "cc" but not "bc".
.SH BUGS
Having two kinds of REs is a botch.
.P
@@ -272,7 +272,7 @@ Back references are a dreadful botch,
posing major problems for efficient implementations.
They are also somewhat vaguely defined
(does
-"\fIa\e(\e(b\e)*\e2\e)*d\fP" match "abbbd"?).
+"\fIa\[rs](\[rs](b\[rs])*\[rs]2\[rs])*d\fP" match "abbbd"?).
Avoid using them.
.P
POSIX.2's specification of case-independent matching is vague.
diff --git a/man/man7/rtld-audit.7 b/man/man7/rtld-audit.7
index 0aab7ca186..db3084128f 100644
--- a/man/man7/rtld-audit.7
+++ b/man/man7/rtld-audit.7
@@ -506,7 +506,7 @@ This is reportedly fixed in glibc 2.10.
unsigned int
la_version(unsigned int version)
{
- printf("la_version(): version = %u; LAV_CURRENT = %u\en",
+ printf("la_version(): version = %u; LAV_CURRENT = %u\[rs]n",
version, LAV_CURRENT);
\&
return LAV_CURRENT;
@@ -516,7 +516,7 @@ char *
la_objsearch(const char *name, uintptr_t *cookie, unsigned int flag)
{
printf("la_objsearch(): name = %s; cookie = %p", name, cookie);
- printf("; flag = %s\en",
+ printf("; flag = %s\[rs]n",
(flag == LA_SER_ORIG) ? "LA_SER_ORIG" :
(flag == LA_SER_LIBPATH) ? "LA_SER_LIBPATH" :
(flag == LA_SER_RUNPATH) ? "LA_SER_RUNPATH" :
@@ -531,7 +531,7 @@ la_objsearch(const char *name, uintptr_t *cookie, unsigned int flag)
void
la_activity (uintptr_t *cookie, unsigned int flag)
{
- printf("la_activity(): cookie = %p; flag = %s\en", cookie,
+ printf("la_activity(): cookie = %p; flag = %s\[rs]n", cookie,
(flag == LA_ACT_CONSISTENT) ? "LA_ACT_CONSISTENT" :
(flag == LA_ACT_ADD) ? "LA_ACT_ADD" :
(flag == LA_ACT_DELETE) ? "LA_ACT_DELETE" :
@@ -541,7 +541,7 @@ la_activity (uintptr_t *cookie, unsigned int flag)
unsigned int
la_objopen(struct link_map *map, Lmid_t lmid, uintptr_t *cookie)
{
- printf("la_objopen(): loading \e"%s\e"; lmid = %s; cookie=%p\en",
+ printf("la_objopen(): loading \[rs]"%s\[rs]"; lmid = %s; cookie=%p\[rs]n",
map\->l_name,
(lmid == LM_ID_BASE) ? "LM_ID_BASE" :
(lmid == LM_ID_NEWLM) ? "LM_ID_NEWLM" :
@@ -554,7 +554,7 @@ la_objopen(struct link_map *map, Lmid_t lmid, uintptr_t *cookie)
unsigned int
la_objclose (uintptr_t *cookie)
{
- printf("la_objclose(): %p\en", cookie);
+ printf("la_objclose(): %p\[rs]n", cookie);
\&
return 0;
}
@@ -562,17 +562,17 @@ la_objclose (uintptr_t *cookie)
void
la_preinit(uintptr_t *cookie)
{
- printf("la_preinit(): %p\en", cookie);
+ printf("la_preinit(): %p\[rs]n", cookie);
}
\&
uintptr_t
la_symbind32(Elf32_Sym *sym, unsigned int ndx, uintptr_t *refcook,
uintptr_t *defcook, unsigned int *flags, const char *symname)
{
- printf("la_symbind32(): symname = %s; sym\->st_value = %p\en",
+ printf("la_symbind32(): symname = %s; sym\->st_value = %p\[rs]n",
symname, sym\->st_value);
printf(" ndx = %u; flags = %#x", ndx, *flags);
- printf("; refcook = %p; defcook = %p\en", refcook, defcook);
+ printf("; refcook = %p; defcook = %p\[rs]n", refcook, defcook);
\&
return sym\->st_value;
}
@@ -581,10 +581,10 @@ uintptr_t
la_symbind64(Elf64_Sym *sym, unsigned int ndx, uintptr_t *refcook,
uintptr_t *defcook, unsigned int *flags, const char *symname)
{
- printf("la_symbind64(): symname = %s; sym\->st_value = %p\en",
+ printf("la_symbind64(): symname = %s; sym\->st_value = %p\[rs]n",
symname, sym\->st_value);
printf(" ndx = %u; flags = %#x", ndx, *flags);
- printf("; refcook = %p; defcook = %p\en", refcook, defcook);
+ printf("; refcook = %p; defcook = %p\[rs]n", refcook, defcook);
\&
return sym\->st_value;
}
@@ -594,7 +594,7 @@ la_i86_gnu_pltenter(Elf32_Sym *sym, unsigned int ndx,
uintptr_t *refcook, uintptr_t *defcook, La_i86_regs *regs,
unsigned int *flags, const char *symname, long *framesizep)
{
- printf("la_i86_gnu_pltenter(): %s (%p)\en", symname, sym\->st_value);
+ printf("la_i86_gnu_pltenter(): %s (%p)\[rs]n", symname, sym\->st_value);
\&
return sym\->st_value;
}
diff --git a/man/man7/sock_diag.7 b/man/man7/sock_diag.7
index 962c3edf36..33fb2702f0 100644
--- a/man/man7/sock_diag.7
+++ b/man/man7/sock_diag.7
@@ -684,11 +684,11 @@ static int
print_diag(const struct unix_diag_msg *diag, unsigned int len)
{
if (len < NLMSG_LENGTH(sizeof(*diag))) {
- fputs("short response\en", stderr);
+ fputs("short response\[rs]n", stderr);
return \-1;
}
if (diag\->udiag_family != AF_UNIX) {
- fprintf(stderr, "unexpected family %u\en", diag\->udiag_family);
+ fprintf(stderr, "unexpected family %u\[rs]n", diag\->udiag_family);
return \-1;
}
\&
@@ -706,7 +706,7 @@ print_diag(const struct unix_diag_msg *diag, unsigned int len)
if (path_len > sizeof(path) \- 1)
path_len = sizeof(path) \- 1;
memcpy(path, RTA_DATA(attr), path_len);
- path[path_len] = \[aq]\e0\[aq];
+ path[path_len] = \[aq]\[rs]0\[aq];
}
break;
\&
@@ -726,7 +726,7 @@ print_diag(const struct unix_diag_msg *diag, unsigned int len)
printf(", name=%s%s", *path ? "" : "@",
*path ? path : path + 1);
\&
- putchar(\[aq]\en\[aq]);
+ putchar(\[aq]\[rs]n\[aq]);
return 0;
}
\&
@@ -762,14 +762,14 @@ receive_responses(int fd)
return 0;
\&
if (nladdr.nl_family != AF_NETLINK) {
- fputs("!AF_NETLINK\en", stderr);
+ fputs("!AF_NETLINK\[rs]n", stderr);
return \-1;
}
\&
const struct nlmsghdr *h = (struct nlmsghdr *) buf;
\&
if (!NLMSG_OK(h, ret)) {
- fputs("!NLMSG_OK\en", stderr);
+ fputs("!NLMSG_OK\[rs]n", stderr);
return \-1;
}
\&
@@ -781,7 +781,7 @@ receive_responses(int fd)
const struct nlmsgerr *err = NLMSG_DATA(h);
\&
if (h\->nlmsg_len < NLMSG_LENGTH(sizeof(*err))) {
- fputs("NLMSG_ERROR\en", stderr);
+ fputs("NLMSG_ERROR\[rs]n", stderr);
} else {
errno = \-err\->error;
perror("NLMSG_ERROR");
@@ -791,7 +791,7 @@ receive_responses(int fd)
}
\&
if (h\->nlmsg_type != SOCK_DIAG_BY_FAMILY) {
- fprintf(stderr, "unexpected nlmsg_type %u\en",
+ fprintf(stderr, "unexpected nlmsg_type %u\[rs]n",
(unsigned) h\->nlmsg_type);
return \-1;
}
diff --git a/man/man7/system_data_types.7 b/man/man7/system_data_types.7
index 59180cff28..bf243da8f1 100644
--- a/man/man7/system_data_types.7
+++ b/man/man7/system_data_types.7
@@ -213,7 +213,7 @@ main (void)
/* Check that the value is within the valid range of suseconds_t. */
\&
if (tmp < \-1 || tmp > 1000000) {
- fprintf(stderr, "Scanned value outside valid range!\en");
+ fprintf(stderr, "Scanned value outside valid range!\[rs]n");
exit(EXIT_FAILURE);
}
\&
@@ -225,13 +225,13 @@ main (void)
a sensible number of microseconds. */
\&
if (us < 0) {
- fprintf(stderr, "Scanned value shouldn\[aq]t be negative!\en");
+ fprintf(stderr, "Scanned value shouldn\[aq]t be negative!\[rs]n");
exit(EXIT_FAILURE);
}
\&
/* Print the value. */
\&
- printf("There are %jd microseconds in half a second.\en",
+ printf("There are %jd microseconds in half a second.\[rs]n",
(intmax_t) us);
\&
exit(EXIT_SUCCESS);
diff --git a/man/man7/unix.7 b/man/man7/unix.7
index 433ac02f40..f291508bfb 100644
--- a/man/man7/unix.7
+++ b/man/man7/unix.7
@@ -141,7 +141,7 @@ abstract
an abstract socket address is distinguished (from a pathname socket)
by the fact that
.I sun_path[0]
-is a null byte (\[aq]\e0\[aq]).
+is a null byte (\[aq]\[rs]0\[aq]).
The socket's address in this namespace is given by the additional
bytes in
.I sun_path
@@ -913,7 +913,7 @@ memset(addrp, 0, addrlen + 1);
if (getsockname(sfd, (struct sockaddr *) addrp, &addrlen)) == \-1)
/* handle error */ ;
\&
-printf("sun_path = %s\en", ((struct sockaddr_un *) addrp)\->sun_path);
+printf("sun_path = %s\[rs]n", ((struct sockaddr_un *) addrp)\->sun_path);
.EE
.in
.P
@@ -1165,7 +1165,7 @@ main(int argc, char *argv[])
ret = connect(data_socket, (const struct sockaddr *) &addr,
sizeof(addr));
if (ret == \-1) {
- fprintf(stderr, "The server is down.\en");
+ fprintf(stderr, "The server is down.\[rs]n");
exit(EXIT_FAILURE);
}
\&
@@ -1200,7 +1200,7 @@ main(int argc, char *argv[])
\&
buffer[sizeof(buffer) \- 1] = 0;
\&
- printf("Result = %s\en", buffer);
+ printf("Result = %s\[rs]n", buffer);
\&
/* Close socket. */
\&
diff --git a/man/man7/user_namespaces.7 b/man/man7/user_namespaces.7
index bd6720b0bb..4131d49270 100644
--- a/man/man7/user_namespaces.7
+++ b/man/man7/user_namespaces.7
@@ -1184,35 +1184,35 @@ static int verbose;
static void
usage(char *pname)
{
- fprintf(stderr, "Usage: %s [options] cmd [arg...]\en\en", pname);
+ fprintf(stderr, "Usage: %s [options] cmd [arg...]\[rs]n\[rs]n", pname);
fprintf(stderr, "Create a child process that executes a shell "
- "command in a new user namespace,\en"
- "and possibly also other new namespace(s).\en\en");
- fprintf(stderr, "Options can be:\en\en");
+ "command in a new user namespace,\[rs]n"
+ "and possibly also other new namespace(s).\[rs]n\[rs]n");
+ fprintf(stderr, "Options can be:\[rs]n\[rs]n");
#define fpe(str) fprintf(stderr, " %s", str);
- fpe("\-i New IPC namespace\en");
- fpe("\-m New mount namespace\en");
- fpe("\-n New network namespace\en");
- fpe("\-p New PID namespace\en");
- fpe("\-u New UTS namespace\en");
- fpe("\-U New user namespace\en");
- fpe("\-M uid_map Specify UID map for user namespace\en");
- fpe("\-G gid_map Specify GID map for user namespace\en");
- fpe("\-z Map user\[aq]s UID and GID to 0 in user namespace\en");
- fpe(" (equivalent to: \-M \[aq]0 <uid> 1\[aq] \-G \[aq]0 <gid> 1\[aq])\en");
- fpe("\-v Display verbose messages\en");
- fpe("\en");
- fpe("If \-z, \-M, or \-G is specified, \-U is required.\en");
- fpe("It is not permitted to specify both \-z and either \-M or \-G.\en");
- fpe("\en");
- fpe("Map strings for \-M and \-G consist of records of the form:\en");
- fpe("\en");
- fpe(" ID\-inside\-ns ID\-outside\-ns len\en");
- fpe("\en");
+ fpe("\-i New IPC namespace\[rs]n");
+ fpe("\-m New mount namespace\[rs]n");
+ fpe("\-n New network namespace\[rs]n");
+ fpe("\-p New PID namespace\[rs]n");
+ fpe("\-u New UTS namespace\[rs]n");
+ fpe("\-U New user namespace\[rs]n");
+ fpe("\-M uid_map Specify UID map for user namespace\[rs]n");
+ fpe("\-G gid_map Specify GID map for user namespace\[rs]n");
+ fpe("\-z Map user\[aq]s UID and GID to 0 in user namespace\[rs]n");
+ fpe(" (equivalent to: \-M \[aq]0 <uid> 1\[aq] \-G \[aq]0 <gid> 1\[aq])\[rs]n");
+ fpe("\-v Display verbose messages\[rs]n");
+ fpe("\[rs]n");
+ fpe("If \-z, \-M, or \-G is specified, \-U is required.\[rs]n");
+ fpe("It is not permitted to specify both \-z and either \-M or \-G.\[rs]n");
+ fpe("\[rs]n");
+ fpe("Map strings for \-M and \-G consist of records of the form:\[rs]n");
+ fpe("\[rs]n");
+ fpe(" ID\-inside\-ns ID\-outside\-ns len\[rs]n");
+ fpe("\[rs]n");
fpe("A map string can contain multiple records, separated"
- " by commas;\en");
+ " by commas;\[rs]n");
fpe("the commas are replaced by newlines before writing"
- " to map files.\en");
+ " to map files.\[rs]n");
\&
exit(EXIT_FAILURE);
}
@@ -1240,17 +1240,17 @@ update_map(char *mapping, char *map_file)
map_len = strlen(mapping);
for (size_t j = 0; j < map_len; j++)
if (mapping[j] == \[aq],\[aq])
- mapping[j] = \[aq]\en\[aq];
+ mapping[j] = \[aq]\[rs]n\[aq];
\&
fd = open(map_file, O_RDWR);
if (fd == \-1) {
- fprintf(stderr, "ERROR: open %s: %s\en", map_file,
+ fprintf(stderr, "ERROR: open %s: %s\[rs]n", map_file,
strerror(errno));
exit(EXIT_FAILURE);
}
\&
if (write(fd, mapping, map_len) != map_len) {
- fprintf(stderr, "ERROR: write %s: %s\en", map_file,
+ fprintf(stderr, "ERROR: write %s: %s\[rs]n", map_file,
strerror(errno));
exit(EXIT_FAILURE);
}
@@ -1290,13 +1290,13 @@ proc_setgroups_write(pid_t child_pid, char *str)
user know. */
\&
if (errno != ENOENT)
- fprintf(stderr, "ERROR: open %s: %s\en", setgroups_path,
+ fprintf(stderr, "ERROR: open %s: %s\[rs]n", setgroups_path,
strerror(errno));
return;
}
\&
if (write(fd, str, strlen(str)) == \-1)
- fprintf(stderr, "ERROR: write %s: %s\en", setgroups_path,
+ fprintf(stderr, "ERROR: write %s: %s\[rs]n", setgroups_path,
strerror(errno));
\&
close(fd);
@@ -1318,7 +1318,7 @@ childFunc(void *arg)
when parent closes its descriptor. */
if (read(args\->pipe_fd[0], &ch, 1) != 0) {
fprintf(stderr,
- "Failure in child: read from pipe returned != 0\en");
+ "Failure in child: read from pipe returned != 0\[rs]n");
exit(EXIT_FAILURE);
}
\&
@@ -1326,7 +1326,7 @@ childFunc(void *arg)
\&
/* Execute a shell command. */
\&
- printf("About to exec %s\en", args\->argv[0]);
+ printf("About to exec %s\[rs]n", args\->argv[0]);
execvp(args\->argv[0], args\->argv);
err(EXIT_FAILURE, "execvp");
}
@@ -1406,7 +1406,7 @@ main(int argc, char *argv[])
/* Parent falls through to here. */
\&
if (verbose)
- printf("%s: PID of child created by clone() is %jd\en",
+ printf("%s: PID of child created by clone() is %jd\[rs]n",
argv[0], (intmax_t) child_pid);
\&
/* Update the UID and GID maps in the child. */
@@ -1444,7 +1444,7 @@ main(int argc, char *argv[])
err(EXIT_FAILURE, "waitpid");
\&
if (verbose)
- printf("%s: terminating\en", argv[0]);
+ printf("%s: terminating\[rs]n", argv[0]);
\&
exit(EXIT_SUCCESS);
}
diff --git a/man/man7/utf-8.7 b/man/man7/utf-8.7
index d6f539ab22..ff44d7704d 100644
--- a/man/man7/utf-8.7
+++ b/man/man7/utf-8.7
@@ -16,7 +16,7 @@ The most obvious
Unicode encoding (known as UCS-2)
consists of a sequence of 16-bit words.
Such strings can contain\[em]as part of many 16-bit characters\[em]bytes
-such as \[aq]\e0\[aq] or \[aq]/\[aq], which have a
+such as \[aq]\[rs]0\[aq] or \[aq]/\[aq], which have a
special meaning in filenames and other C library function arguments.
In addition, the majority of UNIX tools expect ASCII files and can't
read 16-bit words as characters without major modifications.
@@ -47,7 +47,7 @@ UTF-8.
All UCS characters greater than 0x7f are encoded as a multibyte sequence
consisting only of bytes in the range 0x80 to 0xfd, so no ASCII
byte can appear as part of another character and there are no
-problems with, for example, \[aq]\e0\[aq] or \[aq]/\[aq].
+problems with, for example, \[aq]\[rs]0\[aq] or \[aq]/\[aq].
.IP \[bu]
The lexicographic sorting order of UCS-4 strings is preserved.
.IP \[bu]
@@ -176,9 +176,9 @@ should be used today to count characters and cursor positions.
The official ESC sequence to switch from an ISO/IEC\~2022
encoding scheme (as used for instance by VT100 terminals) to
UTF-8 is ESC % G
-("\ex1b%G").
+("\[rs]x1b%G").
The corresponding return sequence from
-UTF-8 to ISO/IEC\~2022 is ESC % @ ("\ex1b%@").
+UTF-8 to ISO/IEC\~2022 is ESC % @ ("\[rs]x1b%@").
Other ISO/IEC\~2022 sequences (such as
for switching the G0 and G1 sets) are not applicable in UTF-8 mode.
.SS Security