From 2d5fa4c2079494f502f9a576d749fa1e205f2144 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Fri, 26 Aug 2022 18:29:05 -0700 Subject: man pages: Add missing word 'function' where needed A number of instances of 'The Xpm... function' were missing the word "function", so read awkwardly. Signed-off-by: Alan Coopersmith --- man/XpmMisc.man | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'man/XpmMisc.man') diff --git a/man/XpmMisc.man b/man/XpmMisc.man index a447e27..3fed6dd 100644 --- a/man/XpmMisc.man +++ b/man/XpmMisc.man @@ -65,7 +65,7 @@ Specifies the structure to free .SH DESCRIPTION To free possible data stored into an XpmImage structure use XpmFreeXpmImage. -The XpmFreeXpmImagefrees the structure members which are not NULL, but not the structure itself. +The XpmFreeXpmImage function frees the structure members which are not NULL, but not the structure itself. To free possible data stored into an XpmInfo structure use XpmFreeXpmInfo. To free data possibly stored into an array of XpmExtension use XpmFreeExtensions. @@ -76,7 +76,7 @@ XpmFree is nothing else than a define to the standard free. However since these functions may be redefined in specific environments it is wise to use XpmFree. To free possible data stored into an XpmAttributes structure use XpmFreeAtatributes. -The XpmFreeAttributes frees the structure members which have been malloc’ed such as the pixels list. +The XpmFreeAttributes function frees the structure members which have been malloc’ed such as the pixels list. To dynamically allocate an XpmAttributes structure use the XpmAttributesSize function. The XpmAttributesSize function provides application using dynamic libraries with a safe way to allocate and then @@ -85,7 +85,7 @@ compiled. To get data when building an error message, one can use XpmGetErrorString. XpmGetErrorString returns a string related to the given XPM error code. -The XpmLibraryVersion can be used when one needs to figure out which version of the library is in use. +The XpmLibraryVersion function can be used when one needs to figure out which version of the library is in use. The value returned by XpmLibraryVersion can be compared to the value of XpmIncludeVersion which is defined in the header file "xpm.h". These numbers are computed with the following formula: .nf -- cgit v1.2.3