1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12:
13:
14: 15: 16: 17: 18: 19:
20:
21: #ifndef _TSTDLIB_
22: #define _TSTDLIB_
23:
24: #include <tk/tkernel.h>
25:
26:
27: IMPORT void knl_bitclr( void *base, W offset );
28: IMPORT void knl_bitset( void *base, W offset );
29:
30: IMPORT W knl_bitsearch1( void *base, W offset, W width );
31:
32:
33: IMPORT void *knl_memset( void *s, int c, SZ n );
34: IMPORT void *knl_memcpy( void *dst, const void *src, SZ n );
35:
36: IMPORT SZ knl_strlen( const char *s );
37: IMPORT char *knl_strcpy( char *dst, const char *src );
38: IMPORT char *knl_strncpy( char *dst, const char *src, SZ n );
39: IMPORT int knl_strcmp( const char *s1, const char *s2 );
40: IMPORT char *knl_strcat( char *dst, const char *src );
41:
42: #endif