Browse Source

Merge pull request #73 from FrankBoesing/patch-2

strlen is already in string.h
main
Paul Stoffregen 10 years ago
parent
commit
77058b2f72
1 changed files with 0 additions and 8 deletions
  1. +0
    -8
      teensy3/nonstd.c

+ 0
- 8
teensy3/nonstd.c View File

#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>


size_t strlen(const char *s)
{
size_t n=0;

while (*s++) n++;
return n;
}



char * ultoa(unsigned long val, char *buf, int radix) char * ultoa(unsigned long val, char *buf, int radix)
{ {

Loading…
Cancel
Save