Check-in Number:
|
5413 | |
Date: |
2006-Jun-10 09:34:54 (local)
2006-Jun-10 07:34:54 (UTC) |
User: | rse |
Branch: | |
Comment: |
Corrected description of mm_sizeof() function |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/mm/ChangeLog 1.54 -> 1.55
--- ChangeLog 2006/06/10 07:07:54 1.54
+++ ChangeLog 2006/06/10 07:34:54 1.55
@@ -15,7 +15,8 @@
GNU libtool 1.5.22
[Ralf S. Engelschall]
- *) Fix spelling errors in manual page mm(3).
+ *) Fix spelling errors in manual page mm(3) and corrected
+ description of mm_sizeof() function.
[Neil Conway <neilc@samurai.com>]
Changes between 1.3.1 and 1.4.0 (12-Sep-2003 to 02-Sep-2005)
|
|
ossp-pkg/mm/mm.pod 1.25 -> 1.26
--- mm.pod 2006/06/10 07:07:54 1.25
+++ mm.pod 2006/06/10 07:34:55 1.26
@@ -85,7 +85,7 @@
void mm_free(MM *mm, void *ptr);
void *mm_calloc(MM *mm, size_t number, size_t size);
char *mm_strdup(MM *mm, const char *str);
- size_t mm_sizeof(void *ptr);
+ size_t mm_sizeof(MM *mm, void *ptr);
size_t mm_maxsize(void);
size_t mm_available(MM *mm);
char *mm_error(void);
@@ -452,11 +452,12 @@
subsequently be used as an argument to the function mm_free(3). If
insufficient shared memory is available, C<NULL> is returned.
-=item size_t B<mm_sizeof>(const void *I<ptr>);
+=item size_t B<mm_sizeof>(MM *I<mm>, const void *I<ptr>);
-This function returns the size in bytes of the chunk starting at I<ptr> when
-I<ptr> was previously allocated with mm_malloc(3). The result is undefined
-when I<ptr> was not previously allocated with mm_malloc(3).
+This function returns the size in bytes of the chunk starting at I<ptr>
+when I<ptr> was previously allocated with mm_malloc(3) inside the
+shared memory pool I<mm>. The result is undefined when I<ptr> was not
+previously allocated with mm_malloc(3).
=item size_t B<mm_maxsize>(void);
|
|