Ignore:
Timestamp:
Jun 18, 2017, 10:06:41 PM (7 years ago)
Author:
alain
Message:

Introduce syscalls.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/libk/string.h

    r1 r23  
    8383
    8484/********************************************************************************************
    85  * TODO
     85 * this function copies the <src> buffer to the <dst> buffer, including the terminating NUL.
    8686 ********************************************************************************************
     87 * @ dst   : pointer on destination buffer.
     88 * @ src   : pointer on source buffer.
    8789 *******************************************************************************************/
    88 char * strcpy ( char * dest,
     90char * strcpy ( char * dst,
    8991                char * src );
    9092
    9193/********************************************************************************************
    92  * TODO
     94 * This function copies <n> characters from the <sr> buffer to the <dst> buffer.
    9395 ********************************************************************************************
     96 * @ dst   : pointer on destination buffer.
     97 * @ src   : pointer on source buffer.
     98 * @ n     : number of characters to be copied.
    9499 *******************************************************************************************/
    95 char * strncpy ( char    * dest,
     100char * strncpy ( char    * dst,
    96101                 char    * src,
    97102                 uint32_t  n );
    98103
    99104/********************************************************************************************
    100  * TODO
     105 * This function locates the first occurence of the <c> character in the <s> string.
    101106 ********************************************************************************************
     107 * @ s     : string to be analysed.
     108 * @ c     : searched character value (casted to a char)
     109 * @ return pointer on the found character / return NULL if not found.
    102110 *******************************************************************************************/
    103111char * strchr ( const char * s,
     
    105113
    106114/********************************************************************************************
    107  * TODO
     115 * This function locates the last occurence of the <c> character in the <s> string.
    108116 ********************************************************************************************
     117 * @ s     : string to be analysed.
     118 * @ c     : searched character value (casted to a char)
     119 * @ return pointer on the found character / return NULL if not found.
    109120 *******************************************************************************************/
    110121char * strrchr ( const char * t,
Note: See TracChangeset for help on using the changeset viewer.