Changeset 382 for soft/giet_vm/giet_libs/stdlib.h
- Timestamp:
- Aug 7, 2014, 12:23:12 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_libs/stdlib.h
r356 r382 9 9 #define _STDLIB_H 10 10 11 int atoi (char * str); 11 //////////////////////////////////////////////////////////////////////////////////////// 12 // This function translate a character string to a signed integer. 13 // For a negative value, the first character must be a '-' (minus) character. 14 //////////////////////////////////////////////////////////////////////////////////////// 15 int atoi ( char * str ); 12 16 13 17 //////////////////////////////////////////////////////////////////////////////////////// 14 // mempcy() 18 // This function copies size bytes from the src source buffer 19 // to the dst destination buffer. 15 20 // GCC requires this function. Taken from MutekH. 16 21 //////////////////////////////////////////////////////////////////////////////////////// 17 void * memcpy(void *_dst, const void * _src, unsigned int size); 22 void* memcpy( void* dst, 23 const void* src, 24 unsigned int size ); 18 25 19 26 //////////////////////////////////////////////////////////////////////////////////////// 20 // memset() 27 // This function initializes size bytes in the dst destination buffer, 28 // with the value defined by (char)s. 21 29 // GCC requires this function. Taken from MutekH. 22 30 //////////////////////////////////////////////////////////////////////////////////////// 23 inline void * memset(void * dst, int s, unsigned int count); 31 inline void* memset( void* dst, 32 int s, 33 unsigned int size ); 24 34 25 35 #endif
Note: See TracChangeset
for help on using the changeset viewer.