Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 16da5f8e in mainline for kernel/generic/include/func.h


Ignore:
Timestamp:
2009-03-02T21:18:15Z (13 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master
Children:
20f1597
Parents:
8dc72b64
Message:

String functions should be declared in string.h (and implemented in string.c) in the kernel.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/func.h

    r8dc72b64 r16da5f8e  
    4242
    4343extern void halt(void);
    44 
    45 extern size_t strlen(const char *str);
    46 extern int strcmp(const char *src, const char *dst);
    47 extern int strncmp(const char *src, const char *dst, size_t len);
    48 extern void strncpy(char *dest, const char *src, size_t len);
    4944extern unative_t atoi(const char *text);
    5045extern void order(const uint64_t val, uint64_t *rv, char *suffix);
Note: See TracChangeset for help on using the changeset viewer.