gonzui


Format: Advanced Search

mtkernel_3/kernel/knlinc/tstdlib.hbare sourcepermlink (0.02 seconds)

Search this content:

    1: /*
    2:  *----------------------------------------------------------------------
    3:  *    micro T-Kernel 3.00.00
    4:  *
    5:  *    Copyright (C) 2006-2019 by Ken Sakamura.
    6:  *    This software is distributed under the T-License 2.1.
    7:  *----------------------------------------------------------------------
    8:  *
    9:  *    Released by TRON Forum(http://www.tron.org) at 2019/12/11.
   10:  *
   11:  *----------------------------------------------------------------------
   12:  */
   13: 
   14: /*
   15:  *      tstdlib.h
   16:  *
   17:  *      T-Kernel standard library
   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 /* _TSTDLIB_ */