Ignore:
Timestamp:
Nov 16, 2006, 12:23:56 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Implemented strcmp() and strdup() and added an fflush() stub to the kernel code.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/kernel/kernel.h

    r1065 r1415  
    8383void *memcpy(void *dest, const void *src, size_t n);
    8484size_t strlen(const char *s);
     85int strcmp(const char *s1, const char *s2);
    8586int strcasecmp(const char *s1, const char *s2);
    8687int memcmp(const void *s1, const void *s2, size_t n);
     88char *strdup(const char *s);
    8789
    8890/* stdarg.h functions */
     
    100102int printf(const char *format, ...);
    101103int fprintf(FILE *stream, const char *format, ...);
     104int fflush(FILE *stream);
    102105int sprintf(char *str, const char *format, ...);
    103106int sscanf(const char *str, const char *format, ...);
Note: See TracChangeset for help on using the changeset viewer.