diff options
| author | David M. Syzdek <david@syzdek.net> | 2022-03-15 17:48:48 -0800 |
|---|---|---|
| committer | David M. Syzdek <david@syzdek.net> | 2022-03-15 17:57:30 -0800 |
| commit | 2c6465c6ecd8b26fb269c36ff6050eca048c95d2 (patch) | |
| tree | de5c9664c38489df63ec938135843381c69d388b /doc | |
| parent | 822cf5b5c5238cca452160492e0e54595df88420 (diff) | |
| download | tinyrad-2c6465c6ecd8b26fb269c36ff6050eca048c95d2.tar.gz tinyrad-2c6465c6ecd8b26fb269c36ff6050eca048c95d2.tar.bz2 tinyrad-2c6465c6ecd8b26fb269c36ff6050eca048c95d2.tar.xz tinyrad-2c6465c6ecd8b26fb269c36ff6050eca048c95d2.zip | |
doc: adding tinyrad-strings man page
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/mans/tinyrad-strings.5.in | 102 | ||||
| -rw-r--r-- | doc/mans/tinyrad.3.in | 1 |
2 files changed, 103 insertions, 0 deletions
diff --git a/doc/mans/tinyrad-strings.5.in b/doc/mans/tinyrad-strings.5.in new file mode 100644 index 0000000..632e7f5 --- /dev/null +++ b/doc/mans/tinyrad-strings.5.in | |||
| @@ -0,0 +1,102 @@ | |||
| 1 | .\" | ||
| 2 | .\" Tiny RADIUS Client Library | ||
| 3 | .\" Copyright (C) 2022 David M. Syzdek <david@syzdek.net>. | ||
| 4 | .\" All rights reserved. | ||
| 5 | .\" | ||
| 6 | .\" Redistribution and use in source and binary forms, with or without | ||
| 7 | .\" modification, are permitted provided that the following conditions are | ||
| 8 | .\" met: | ||
| 9 | .\" | ||
| 10 | .\" * Redistributions of source code must retain the above copyright | ||
| 11 | .\" notice, this list of conditions and the following disclaimer. | ||
| 12 | .\" * Redistributions in binary form must reproduce the above copyright | ||
| 13 | .\" notice, this list of conditions and the following disclaimer in the | ||
| 14 | .\" documentation and/or other materials provided with the distribution. | ||
| 15 | .\" * Neither the name of David M. Syzdek nor the | ||
| 16 | .\" names of its contributors may be used to endorse or promote products | ||
| 17 | .\" derived from this software without specific prior written permission. | ||
| 18 | .\" | ||
| 19 | .\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS | ||
| 20 | .\" IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, | ||
| 21 | .\" THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
| 22 | .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL DAVID M. SYZDEK BE LIABLE FOR | ||
| 23 | .\" ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
| 24 | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | ||
| 25 | .\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | ||
| 26 | .\" CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
| 27 | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||
| 28 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||
| 29 | .\" SUCH DAMAGE. | ||
| 30 | .\" | ||
| 31 | .TH "TINYRAD-STRINGS" "5" "@RELEASE_MONTH@" "@PACKAGE_NAME@" "Library Functions Manual" | ||
| 32 | .SH NAME | ||
| 33 | tinyrad-strings - Tiny RADIUS string conventions | ||
| 34 | .PP | ||
| 35 | .SH ESCAPE SEQUENCES | ||
| 36 | Spme strings enclosed in double quotes make use of escape sequences, which are | ||
| 37 | replaced at runtime: | ||
| 38 | .RS | ||
| 39 | .IP \fI\er\fR | ||
| 40 | newline (hex value \fI0A\fR) | ||
| 41 | .IP \fI\er\fR | ||
| 42 | carriage return (hex value \fI0D\fR) | ||
| 43 | .IP \fI\et\fR | ||
| 44 | horizontal tab (hex value \fI09\fR) | ||
| 45 | .IP \fI\ev\fR | ||
| 46 | vertical tab (hex value \fI0B\fR) | ||
| 47 | .IP \fI\e"\fR | ||
| 48 | double quotation mark (hex value \fI22\fR) | ||
| 49 | .IP \fI\e'\fR | ||
| 50 | apostrophe or single quotation mark (hex value \fI27\fR) | ||
| 51 | .IP \fI\e?\fR | ||
| 52 | question mark (hex value \fI3f\fR) | ||
| 53 | .IP \fI\e\e\fR | ||
| 54 | backslash (hex value \fI5c\fR) | ||
| 55 | .IP \fI\ennn\fR | ||
| 56 | The byte whose numerical value is given by \fInnn\fR interpreted as an octal | ||
| 57 | number | ||
| 58 | .IP \fI\exnn\fR | ||
| 59 | The byte whose numerical value is given by \fInn\fR interpreted as a | ||
| 60 | hexadecimal number | ||
| 61 | .RE | ||
| 62 | .SH TOKEN EXPANSION | ||
| 63 | Spme strings enclosed in double quotes make use of tokens, which are expanded | ||
| 64 | at runtime: | ||
| 65 | .RS | ||
| 66 | .IP \fI%%\fR | ||
| 67 | A literal `\fI%\fR' (hex value \fI25\fR) | ||
| 68 | .IP \fI%D\fR | ||
| 69 | The local domain name | ||
| 70 | .IP \fI%d\fR | ||
| 71 | The local user's home directory | ||
| 72 | .IP \fI%G\fR | ||
| 73 | The local group ID | ||
| 74 | .IP \fI%g\fR | ||
| 75 | The local group name | ||
| 76 | .IP \fI%H\fR | ||
| 77 | The local hostname, including the domain name. | ||
| 78 | .IP \fI%h\fR | ||
| 79 | The local hostname, without the domain name. | ||
| 80 | .IP \fI%P\fR | ||
| 81 | process ID | ||
| 82 | .IP \fI%P\fR | ||
| 83 | process name (set using \fITRAD_OPT_DEBUG_IDENT\fR) | ||
| 84 | .IP \fI%U\fR | ||
| 85 | The local user ID | ||
| 86 | .IP \fI%u\fR | ||
| 87 | The local username | ||
| 88 | .RE | ||
| 89 | .SH SEE ALSO | ||
| 90 | .BR tinyrad (1), | ||
| 91 | .BR tinyrad (3), | ||
| 92 | .BR tinyrad-dict (1), | ||
| 93 | .BR tinyrad.conf (5), | ||
| 94 | .PP | ||
| 95 | .SH AUTHOR | ||
| 96 | David M. Syzdek <david@syzdek.net> | ||
| 97 | .PP | ||
| 98 | .SH ACKNOWLEDGEMENTS | ||
| 99 | \fB@PACKAGE_NAME@\fR is developed and maintained by David M. Syzdek | ||
| 100 | <david@syzdek.net>. | ||
| 101 | |||
| 102 | .\" end of man page | ||
diff --git a/doc/mans/tinyrad.3.in b/doc/mans/tinyrad.3.in index 008dced..182d3e3 100644 --- a/doc/mans/tinyrad.3.in +++ b/doc/mans/tinyrad.3.in | |||
| @@ -71,6 +71,7 @@ copies into a buffer an error message corresponding to an error code | |||
| 71 | .BR tinyrad (1), | 71 | .BR tinyrad (1), |
| 72 | .BR tinyrad_error (3), | 72 | .BR tinyrad_error (3), |
| 73 | .BR tinyrad_options (3) | 73 | .BR tinyrad_options (3) |
| 74 | .BR tinyrad-strings (5) | ||
| 74 | 75 | ||
| 75 | .SH AUTHOR | 76 | .SH AUTHOR |
| 76 | David M. Syzdek <david@syzdek.net> | 77 | David M. Syzdek <david@syzdek.net> |
