summaryrefslogtreecommitdiff
path: root/man/XtOffset.man
diff options
context:
space:
mode:
Diffstat (limited to 'man/XtOffset.man')
-rw-r--r--man/XtOffset.man40
1 files changed, 20 insertions, 20 deletions
diff --git a/man/XtOffset.man b/man/XtOffset.man
index f8d1c08..f18594c 100644
--- a/man/XtOffset.man
+++ b/man/XtOffset.man
@@ -1,26 +1,26 @@
.\" Copyright (c) 1993, 1994 X Consortium
-.\"
+.\"
.\" Permission is hereby granted, free of charge, to any person obtaining a
-.\" copy of this software and associated documentation files (the "Software"),
-.\" to deal in the Software without restriction, including without limitation
-.\" the rights to use, copy, modify, merge, publish, distribute, sublicense,
-.\" and/or sell copies of the Software, and to permit persons to whom the
+.\" copy of this software and associated documentation files (the "Software"),
+.\" to deal in the Software without restriction, including without limitation
+.\" the rights to use, copy, modify, merge, publish, distribute, sublicense,
+.\" and/or sell copies of the Software, and to permit persons to whom the
.\" Software furnished to do so, subject to the following conditions:
-.\"
+.\"
.\" The above copyright notice and this permission notice shall be included in
.\" all copies or substantial portions of the Software.
-.\"
+.\"
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
.\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
-.\" THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-.\" WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
-.\" OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+.\" THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+.\" WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
+.\" OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
.\" SOFTWARE.
-.\"
-.\" Except as contained in this notice, the name of the X Consortium shall not
-.\" be used in advertising or otherwise to promote the sale, use or other
-.\" dealing in this Software without prior written authorization from the
+.\"
+.\" Except as contained in this notice, the name of the X Consortium shall not
+.\" be used in advertising or otherwise to promote the sale, use or other
+.\" dealing in this Software without prior written authorization from the
.\" X Consortium.
.\"
.ds tk X Toolkit
@@ -127,11 +127,11 @@
XtOffset, XtOffsetOf, XtNumber \- determine the byte offset or number of array elements
.SH SYNTAX
.HP
-Cardinal XtOffset(Type \fIpointer_type\fP, Field \fIfield_name\fP);
+Cardinal XtOffset(Type \fIpointer_type\fP, Field \fIfield_name\fP);
.HP
-Cardinal XtOffsetOf(Type \fIstructure_type\fP, Field \fIfield_name\fP);
+Cardinal XtOffsetOf(Type \fIstructure_type\fP, Field \fIfield_name\fP);
.HP
-Cardinal XtNumber(ArrayVariable \fIarray\fP);
+Cardinal XtNumber(ArrayVariable \fIarray\fP);
.SH ARGUMENTS
.IP \fIarray\fP 1i
Specifies a fixed-size array.
@@ -144,7 +144,7 @@ Specifies a type that is declared as a structure.
.SH DESCRIPTION
The
.ZN XtOffset
-macro is usually used to determine the offset of various resource fields
+macro is usually used to determine the offset of various resource fields
from the beginning of a widget and can be used at compile time in static
initializations.
.LP
@@ -159,7 +159,7 @@ which serves the same function.
.LP
The
.ZN XtNumber
-macro returns the number of elements in the specified argument lists,
+macro returns the number of elements in the specified argument lists,
resources lists, and other counted arrays.
.SH "SEE ALSO"
XtGetResourceList(__libmansuffix__),