OSSP CVS Repository

ossp - Difference in ossp-pkg/mm/mm.pod versions 1.25 and 1.26
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

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);
 

CVSTrac 2.0.1