summaryrefslogtreecommitdiff
path: root/man/XtSetArg.man
diff options
context:
space:
mode:
authorWalter Harms <wharms@bfs.de>2019-04-02 22:50:51 +0200
committerWalter Harms <wharms@bfs.de>2019-04-02 22:50:51 +0200
commit7caf7f47d473e92cf0fc36bf03720765916c17be (patch)
treefc94f08c87a1c4a8655bf9e0afa463322887cf89 /man/XtSetArg.man
parent3b5b654d5b539364a2f19b5206a79fb2e13f810f (diff)
replace .ZN with .BR
By replacing we do two things: 1. this fixes the troff behavier 2. this moves us closer to std. man pages 3. after this patch the macro ZN can be deleted Signed-off-by: Walter Harms <wharms@bfs.de>
Diffstat (limited to 'man/XtSetArg.man')
-rw-r--r--man/XtSetArg.man20
1 files changed, 10 insertions, 10 deletions
diff --git a/man/XtSetArg.man b/man/XtSetArg.man
index 33fc0cc..e9a1807 100644
--- a/man/XtSetArg.man
+++ b/man/XtSetArg.man
@@ -70,10 +70,10 @@ ArgList XtMergeArgLists(ArgList \fIargs1\fP, Cardinal \fInum_args1\fP, ArgList
Specifies the name-value pair to set.
.IP \fIargs1\fP 1i
Specifies the first
-.ZN ArgList .
+.BR ArgList .
.IP \fIargs2\fP 1i
Specifies the second
-.ZN ArgList .
+.BR ArgList .
.IP \fInum_args1\fP 1i
Specifies the number of arguments in the first argument list.
.IP \fInum_args2\fP 1i
@@ -82,11 +82,11 @@ Specifies the number of arguments in the second argument list.
Specifies the name of the resource.
.IP \fIvalue\fP 1i
Specifies the value of the resource if it will fit in an
-.ZN XtArgVal
+.BR XtArgVal
or the address.
.SH DESCRIPTION
The
-.ZN XtSetArg
+.BR XtSetArg
function is usually used in a highly stylized manner to
minimize the probability of making a mistake; for example:
.LP
@@ -102,7 +102,7 @@ XtSetValues(widget, args, n);
.LP
Alternatively, an application can statically declare the argument list
and use
-.ZN XtNumber :
+.BR XtNumber :
.LP
.Ds
static Args args[] = {
@@ -114,19 +114,19 @@ XtSetValues(Widget, args, XtNumber(args));
.LP
Note that you should not use auto-increment or auto-decrement
within the first argument to
-.ZN XtSetArg .
-.ZN XtSetArg
+.BR XtSetArg .
+.BR XtSetArg
can be implemented as a macro that dereferences the first argument twice.
.LP
The
-.ZN XtMergeArgLists
+.BR XtMergeArgLists
function allocates enough storage to hold the combined
-.ZN ArgList
+.BR ArgList
structures and copies them into it.
Note that it does not check for duplicate entries.
When it is no longer needed,
free the returned storage by using
-.ZN XtFree .
+.BR XtFree .
.SH "SEE ALSO"
XtOffset(__libmansuffix__)
.br