aboutsummaryrefslogtreecommitdiff
path: root/man/man3/quote.3
diff options
context:
space:
mode:
authorPetter Rodhelind <petter.rodhelind@gmail.com>2020-12-18 09:13:34 +0100
committerPetter Rodhelind <petter.rodhelind@gmail.com>2020-12-18 09:13:34 +0100
commit94c521bf102a74aec7e1a5c3a9ef5eaa968d4e14 (patch)
treead1ad80ee9a4e0ae97451c94a7cf455d3068951b /man/man3/quote.3
parent7cda34cf34f3afbd3f2000aa5e2b59ddc319f0f2 (diff)
parent2991442aef1cf020ffde43673433ee97ef322a53 (diff)
downloadplan9port-94c521bf102a74aec7e1a5c3a9ef5eaa968d4e14.tar.gz
plan9port-94c521bf102a74aec7e1a5c3a9ef5eaa968d4e14.tar.bz2
plan9port-94c521bf102a74aec7e1a5c3a9ef5eaa968d4e14.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'man/man3/quote.3')
-rw-r--r--man/man3/quote.322
1 files changed, 11 insertions, 11 deletions
diff --git a/man/man3/quote.3 b/man/man3/quote.3
index ae6c6c28..30e85bdf 100644
--- a/man/man3/quote.3
+++ b/man/man3/quote.3
@@ -58,10 +58,10 @@ The empty string is represented by two quotes,
The first four functions act as variants of
.B strdup
(see
-.IR strcat (3)).
+.MR strcat (3) ).
Each returns a
freshly allocated copy of the string, created using
-.IR malloc (3).
+.MR malloc (3) .
.I Quotestrdup
returns a quoted copy of
.IR s ,
@@ -75,7 +75,7 @@ The
versions of these functions do the same for
.CW Rune
strings (see
-.IR runestrcat (3)).
+.MR runestrcat (3) ).
.PP
The string returned by
.I quotestrdup
@@ -124,13 +124,13 @@ blanks, control characters, and quotes are always quoted.
is provided as a
.I doquote
function that flags any character special to
-.IR rc (1).
+.MR rc (1) .
.PP
.I Quotestrfmt
and
.I quoterunestrfmt
are
-.IR print (3)
+.MR print (3)
formatting routines that produce quoted strings as output.
They may be installed by hand, but
.I quotefmtinstall
@@ -154,21 +154,21 @@ statements so the compiler can type-check uses of
and
.B %Q
in
-.IR print (3)
+.MR print (3)
format strings.
.SH SOURCE
.B \*9/src/lib9/quote.c
.br
.B \*9/src/lib9/fmt/fmtquote.c
.SH "SEE ALSO
-.IR rc (1),
-.IR malloc (3),
-.IR print (3),
-.IR strcat (3)
+.MR rc (1) ,
+.MR malloc (3) ,
+.MR print (3) ,
+.MR strcat (3)
.SH BUGS
Because it is provided by the format library,
.I doquote
is a preprocessor macro defined as
.IR fmtdoquote ;
see
-.IR intro (3).
+.MR intro (3) .