Changeset 647 for soft/giet_vm/giet_libs/stdlib.h
- Timestamp:
- Jul 22, 2015, 1:09:15 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_libs/stdlib.h
r580 r647 10 10 11 11 //////////////////////////////////////////////////////////////////////////////////////// 12 // This function translate a character string to a signed integer.12 // This function translates a character string to a signed integer. 13 13 // For a negative value, the first character must be a '-' (minus) character. 14 14 //////////////////////////////////////////////////////////////////////////////////////// … … 39 39 unsigned int size ); 40 40 41 //////////////////////////////////////////////////////////////////////////////////////// 42 // This function returns the number of characters in a string. 43 // The terminating NUL character is not taken into account. 44 //////////////////////////////////////////////////////////////////////////////////////// 45 unsigned 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 //////////////////////////////////////////////////////////////////////////////////////// 52 unsigned 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 //////////////////////////////////////////////////////////////////////////////////////// 59 char* strcpy( char* dest, 60 char* source ); 61 41 62 #endif 42 63
Note: See TracChangeset
for help on using the changeset viewer.