Kaynağa Gözat

Merge pull request #73 from FrankBoesing/patch-2

strlen is already in string.h
teensy4-core
Paul Stoffregen 10 yıl önce
ebeveyn
işleme
77058b2f72
1 değiştirilmiş dosya ile 0 ekleme ve 8 silme
  1. +0
    -8
      teensy3/nonstd.c

+ 0
- 8
teensy3/nonstd.c Dosyayı Görüntüle

#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)
{ {

Yükleniyor…
İptal
Kaydet