plibc.h 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*****************************************************************************\
  2. * EFSL - Embedded Filesystems Library *
  3. * ----------------------------------- *
  4. * *
  5. * Filename : plibc.c *
  6. * Release : 0.3 - devel *
  7. * Description : This file contains replacements of common c library functions *
  8. * *
  9. * This program is free software; you can redistribute it and/or *
  10. * modify it under the terms of the GNU General Public License *
  11. * as published by the Free Software Foundation; version 2 *
  12. * of the License. *
  13. * *
  14. * This program is distributed in the hope that it will be useful, *
  15. * but WITHOUT ANY WARRANTY; without even the implied warranty of *
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
  17. * GNU General Public License for more details. *
  18. * *
  19. * As a special exception, if other files instantiate templates or *
  20. * use macros or inline functions from this file, or you compile this *
  21. * file and link it with other works to produce a work based on this file, *
  22. * this file does not by itself cause the resulting work to be covered *
  23. * by the GNU General Public License. However the source code for this *
  24. * file must still be made available in accordance with section (3) of *
  25. * the GNU General Public License. *
  26. * *
  27. * This exception does not invalidate any other reasons why a work based *
  28. * on this file might be covered by the GNU General Public License. *
  29. * *
  30. * (c)2006 Lennart Yseboodt *
  31. * (c)2006 Michael De Nil *
  32. \*****************************************************************************/
  33. #ifndef __PLIBC_H__
  34. #define __PLIBC_H__
  35. /*****************************************************************************/
  36. #include "etypes.h"
  37. #include "config.h"
  38. /*****************************************************************************/
  39. euint16 strMatch(eint8* bufa, eint8*bufb,euint32 n);
  40. void memCpy(void* psrc, void* pdest, euint32 size);
  41. void memClr(void *pdest,euint32 size);
  42. void memSet(void *pdest,euint32 size,euint8 data);
  43. #endif