Re: [AD] Documentation update

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> This one is more varied.

Minor nits:

@@ -1211,35 +1212,45 @@
 
 @@char *@ustrchr(const char *s, int c);
 @xref uconvert, ustrrchr, ustrstr, ustrpbrk, ustrtok
-   This function returns a pointer to the first occurrence of c in s, or
-   NULL if no match was found. Note that if c is NULL, this will return a
-   pointer to the end of the string.
+   Use this function to find the first occurrence of the character c in the
+   string s, which has to be null-terminated.

Finds the first occurrence of the character c in the string s.


 @@char *@ustrrchr(const char *s, int c);
 @xref uconvert, ustrchr, ustrstr, ustrpbrk, ustrtok
-   This function returns a pointer to the last occurrence of c in s, or NULL
-   if no match was found.
+   Use this function to find the last occurrence of the character c in the
+   string s, which has to be null-terminated.

Finds the last occurrence of the character c in the string s.


+@retval
+   Returns a pointer to the token, or NULL if no more are found. You can 
free
+   the memory pointed by last once NULL is returned.

You can free the memory pointed to by 'last' once...


You might also
+   want to check out Peter Wang's "Debugging with GDB" article, featured in
+   the eigth number of the Pixelate online magazine
+   (<link>http://www.pixelate.co.za/</a>).

... the eighth (two h's) issue...

Are you sure it's the 8th?

-- 
Eric Botcazou




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/