diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-08-26 18:29:05 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-08-27 10:12:44 -0700 |
commit | 2d5fa4c2079494f502f9a576d749fa1e205f2144 (patch) | |
tree | 5f4bcab7f2ad1fb911380f1d50caf67988daec9d /man/XpmMisc.man | |
parent | 2b7357e83e38e2a860687ee4150ef60bd6c0a47f (diff) |
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 <alan.coopersmith@oracle.com>
Diffstat (limited to 'man/XpmMisc.man')
-rw-r--r-- | man/XpmMisc.man | 6 |
1 files changed, 3 insertions, 3 deletions
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 |