3 .ds ;G \\*(;G\\f\\$1\\$3\\f\\$2
4 .if !
\a\\$4
\a\a .Af \\$2 \\$1 "\\$4" "\\$5" "\\$6" "\\$7" "\\$8" "\\$9"
7 .ie
\a\\$3
\a\a .ft \\$1
11 .Af "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7" "\\$8" "\\$9"
16 .aF 5 \\n(.f "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7"
19 .aF 5 1 "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7"
22 .aF 1 5 "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7"
24 .de EX \" start example
41 chr \- character constant conversion routines
46 int chresc(const char* \fIs\fP, char** \fIe\fP);
47 int chrtoi(const char* \fIs\fP);
51 converts and returns the next character constant in the 0-terminated string
57 is set to point to the next character in
62 is not modified when the end of
67 converts the 0-terminated string
71 and returns the value.
74 are converted in order from the left and shifted into the
76 value until up to the number of characters in an
79 This operation is inherently machine-dependent,
80 but at least its defined in one place.
84 escape sequences are recognized:
87 The character represented by the octal code
91 The character represented by the hex code
121 Other characters following
123 are undefined (although for backwards compatibility they
124 translate to themselves).