diff -ur avr-libc-1.0.orig/include/avr/signal.h avr-libc-1.0/include/avr/signal.h --- avr-libc-1.0.orig/include/avr/signal.h Wed Jun 4 05:16:51 2003 +++ avr-libc-1.0/include/avr/signal.h Wed Oct 8 19:27:03 2003 @@ -79,7 +79,7 @@ any prolog or epilog code and will only return from the ISR. Do not define a function body as this will define it for you. Example: - \codeEMPTY_INTERRUPT(SIG_ADC);\endcode */ + \code EMPTY_INTERRUPT(SIG_ADC);\endcode */ #ifdef __cplusplus #define EMPTY_INTERRUPT(signame) \ diff -ur avr-libc-1.0.orig/include/stdio.h avr-libc-1.0/include/stdio.h --- avr-libc-1.0.orig/include/stdio.h Mon Mar 17 17:49:46 2003 +++ avr-libc-1.0/include/stdio.h Wed Oct 8 19:16:44 2003 @@ -87,9 +87,9 @@ is provided to associate a stream to a device, where the device needs to provide a function to send a character, to receive a character, or both. There is no differentiation between "text" and - "binary" streams inside avr-libc. Character \c \n is sent + "binary" streams inside avr-libc. Character \c \\n is sent literally down to the device's \c put() function. If the device - requires a carriage return (\c \r) character to be sent before + requires a carriage return (\c \\r) character to be sent before the linefeed, its \c put() routine must implement this (see \ref stdio_note2 "note 2"). diff -ur avr-libc-1.0.orig/include/stdlib.h avr-libc-1.0/include/stdlib.h --- avr-libc-1.0.orig/include/stdlib.h Fri Jun 20 17:16:00 2003 +++ avr-libc-1.0/include/stdlib.h Wed Oct 8 19:18:24 2003 @@ -193,7 +193,7 @@ If \c endptr is not NULL, strtol() stores the address of the first invalid character in \c *endptr. If there were no digits at all, however, strtol() stores the original value of \c nptr in \c - *endptr. (Thus, if \c *nptr is not \c '\0' but \c **endptr is \c '\0' + *endptr. (Thus, if \c *nptr is not \c '\\0' but \c **endptr is \c '\\0' on return, the entire string was valid.) The strtol() function returns the result of the conversion, unless @@ -226,7 +226,7 @@ If \c endptr is not NULL, strtoul() stores the address of the first invalid character in \c *endptr. If there were no digits at all, however, strtoul() stores the original value of \c nptr in \c - *endptr. (Thus, if \c *nptr is not \c '\0' but \c **endptr is \c '\0' + *endptr. (Thus, if \c *nptr is not \c '\\0' but \c **endptr is \c '\\0' on return, the entire string was valid.) The strtoul() function return either the result of the conversion diff -ur avr-libc-1.0.orig/libc/string/strcat.S avr-libc-1.0/libc/string/strcat.S --- avr-libc-1.0.orig/libc/string/strcat.S Fri Jul 26 06:49:44 2002 +++ avr-libc-1.0/libc/string/strcat.S Wed Oct 8 19:01:59 2003 @@ -38,8 +38,8 @@ \brief Concatenate two strings. The strcat() function appends the src string to the dest string - overwriting the `\0' character at the end of dest, and then adds a - terminating `\0' character. The strings may not overlap, and the dest + overwriting the `\\0' character at the end of dest, and then adds a + terminating `\\0' character. The strings may not overlap, and the dest string must have enough space for the result. \returns The strcat() function returns a pointer to the resulting string diff -ur avr-libc-1.0.orig/libc/string/strcpy.S avr-libc-1.0/libc/string/strcpy.S --- avr-libc-1.0.orig/libc/string/strcpy.S Mon Aug 5 18:37:33 2002 +++ avr-libc-1.0/libc/string/strcpy.S Wed Oct 8 19:03:09 2003 @@ -38,7 +38,7 @@ \brief Copy a string. The strcpy() function copies the string pointed to by src (including the - terminating `\0' character) to the array pointed to by dest. The strings + terminating `\\0' character) to the array pointed to by dest. The strings may not overlap, and the destination string dest must be large enough to receive the copy. diff -ur avr-libc-1.0.orig/libc/string/strlen.S avr-libc-1.0/libc/string/strlen.S --- avr-libc-1.0.orig/libc/string/strlen.S Mon Aug 5 20:21:36 2002 +++ avr-libc-1.0/libc/string/strlen.S Wed Oct 8 19:03:39 2003 @@ -36,7 +36,7 @@ \brief Calculate the length of a string. The strlen() function calculates the length of the string src, not - including the terminating `\0' character. + including the terminating `\\0' character. \returns The strlen() function returns the number of characters in src. */ diff -ur avr-libc-1.0.orig/libc/string/strnlen.S avr-libc-1.0/libc/string/strnlen.S --- avr-libc-1.0.orig/libc/string/strnlen.S Mon Aug 5 20:21:36 2002 +++ avr-libc-1.0/libc/string/strnlen.S Wed Oct 8 19:04:35 2003 @@ -38,12 +38,12 @@ \brief Determine the length of a fixed-size string. The strnlen function returns the number of characters in the string - pointed to by src, not including the terminating '\0' character, but at + pointed to by src, not including the terminating '\\0' character, but at most len. In doing this, strnlen looks only at the first len characters at src and never beyond src+len. \returns The strnlen function returns strlen(src), if that is less than - len, or len if there is no '\0' character among the first len + len, or len if there is no '\\0' character among the first len characters pointed to by src. */ .text diff -ur avr-libc-1.0.orig/libc/string/strsep.S avr-libc-1.0/libc/string/strsep.S --- avr-libc-1.0.orig/libc/string/strsep.S Thu Jun 19 21:11:29 2003 +++ avr-libc-1.0/libc/string/strsep.S Wed Oct 8 18:49:08 2003 @@ -30,17 +30,17 @@ /** \ingroup avr_string - \char *strsep(char **string, const char *delim) + \fn char *strsep(char **string, const char *delim) \brief Parse a string into tokens. The strsep() function locates, in the string referenced by *string, the first occurrence of any character in the string delim (or the - terminating `\0' character) and replaces it with a `\0'. The location + terminating `\\0' character) and replaces it with a `\\0'. The location of the next character after the delimiter character (or NULL, if the end of the string was reached) is stored in *string. An ``empty'' field, i.e. one caused by two adjacent delimiter characters, can be detected by comparing the location referenced by the pointer returned - in *string to `\0'. + in *string to `\\0'. \returns The strtok_r() function returns a pointer to the original value of *string. If *stringp is initially NULL, strsep() returns NULL. diff -ur avr-libc-1.0.orig/libc/string/strstr.S avr-libc-1.0/libc/string/strstr.S --- avr-libc-1.0.orig/libc/string/strstr.S Wed Dec 11 21:58:20 2002 +++ avr-libc-1.0/libc/string/strstr.S Wed Oct 8 19:07:34 2003 @@ -58,7 +58,7 @@ \brief Locate a substring. The strstr() function finds the first occurrence of the substring \c s2 - in the string \c s1. The terminating `\0' characters are not + in the string \c s1. The terminating `\\0' characters are not compared. \returns The strstr() function returns a pointer to the beginning of the diff -ur avr-libc-1.0.orig/libc/string/strtok_r.S avr-libc-1.0/libc/string/strtok_r.S --- avr-libc-1.0.orig/libc/string/strtok_r.S Thu Jun 19 21:11:29 2003 +++ avr-libc-1.0/libc/string/strtok_r.S Wed Oct 8 19:05:15 2003 @@ -29,13 +29,13 @@ */ /** \ingroup avr_string - \char *strtok_r(char *string, const char *delim, char **last) + \fn char *strtok_r(char *string, const char *delim, char **last) \brief Parses the string s into tokens. strtok_r parses the string s into tokens. The first call to strtok_r should have string as its first argument. Subsequent calls should have the first argument set to NULL. If a token ends with a delimiter, this - delimiting character is overwritten with a \0 and a pointer to the next + delimiting character is overwritten with a \\0 and a pointer to the next character is saved for the next call to strtok_r. The delimiter string delim may be different for each call. last is a user allocated char* pointer. It must be the same while parsing the same string. strtok_r is