Ignore:
Timestamp:
Jul 22, 2015, 1:09:15 PM (9 years ago)
Author:
alain
Message:

Cosmetic.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_libs/stdlib.h

    r580 r647  
    1010
    1111////////////////////////////////////////////////////////////////////////////////////////
    12 // This function translate a character string to a signed integer. 
     12// This function translates a character string to a signed integer. 
    1313// For a negative value, the first character must be a '-' (minus) character.
    1414////////////////////////////////////////////////////////////////////////////////////////
     
    3939                     unsigned int size );
    4040
     41////////////////////////////////////////////////////////////////////////////////////////
     42// This function returns the number of characters in a string.
     43// The terminating NUL character is not taken into account.
     44////////////////////////////////////////////////////////////////////////////////////////
     45unsigned int strlen( char* string );
     46
     47////////////////////////////////////////////////////////////////////////////////////////
     48// This function compare the two s1 & s2 strings.
     49// It returns 0 if strings are identical (including the terminating NUL character).
     50// It returns 1 if they are not.
     51////////////////////////////////////////////////////////////////////////////////////////
     52unsigned int strcmp( char* s1,
     53                     char* s2 );
     54
     55////////////////////////////////////////////////////////////////////////////////////////
     56// This function copies the source string to the dest string.
     57// It returns a pointer on the dest string.
     58////////////////////////////////////////////////////////////////////////////////////////
     59char* strcpy( char* dest,
     60              char* source );
     61
    4162#endif
    4263
Note: See TracChangeset for help on using the changeset viewer.