Changeset 777 for soft/giet_vm/giet_libs/stdlib.h
- Timestamp:
- Feb 4, 2016, 6:25:22 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_libs/stdlib.h
r772 r777 41 41 unsigned int size ); 42 42 43 ////////////////////////////////////////////////////////////////////////////////////////44 // This function returns the number of characters in a string.45 // The terminating NUL character is not taken into account.46 ////////////////////////////////////////////////////////////////////////////////////////47 int strlen( const char* string );48 49 ////////////////////////////////////////////////////////////////////////////////////////50 // This function compare the two s1 & s2 strings.51 // It returns 0 if strings are identical (including the terminating NUL character).52 // It returns 1 if they are not.53 ////////////////////////////////////////////////////////////////////////////////////////54 int strcmp( const char* s1,55 const char* s2 );56 57 ////////////////////////////////////////////////////////////////////////////////////////58 // This function copies the source string to the dest string.59 // It returns a pointer on the dest string.60 ////////////////////////////////////////////////////////////////////////////////////////61 char* strcpy( char* dest,62 const char* source );63 43 64 44 ///////////////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset
for help on using the changeset viewer.