[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] strlen() returns erroneous values
From: |
Kitts |
Subject: |
[avr-gcc-list] strlen() returns erroneous values |
Date: |
Sat, 4 Jun 2005 01:01:19 +0530 |
User-agent: |
KMail/1.8 |
Hi All,
Are there any special considerations to take care of when using the
function strlen()? The function does not always return the right
values. Some times it appears to skip a NULL character and reaches out
to the next following NULL.
I am multitasking on the AVR and from the avr-libc documentation i found
the function to have the "_ATTR_PURE_" attribute. Could this be the
cause for the problem? What does this attribute signify anyway?
--
Cheers!
Kitts
- [avr-gcc-list] strlen() returns erroneous values,
Kitts <=