/uspace/trunk/libc/generic/string.c |
---|
26,7 → 26,6 |
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
#include <types.h> |
#include <string.h> |
/* Dummy implementation of mem/ functions */ |
47,3 → 46,14 |
*(odst++) = *(os++); |
return dest; |
} |
size_t strlen(const char *str) |
{ |
int counter = 0; |
while (str[counter] != 0) { |
counter++; |
} |
return counter; |
} |