Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/bithenge/src/helenos/common.h

    r2498b95 r5a6cc679  
    7373}
    7474
     75static inline void *memchr(const void *s, int c, size_t n)
     76{
     77        for (size_t i = 0; i < n; i++)
     78                if (((char *)s)[i] == c)
     79                        return (void *)(s + i);
     80        return NULL;
     81}
     82
    7583static inline errno_t bithenge_parse_int(const char *start, bithenge_int_t *result)
    7684{
Note: See TracChangeset for help on using the changeset viewer.