Changeset 113 for trunk/kernel/libk/memcpy.h
- Timestamp:
- Jun 30, 2017, 11:03:08 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/libk/memcpy.h
r11 r113 27 27 /******************************************************************************************* 28 28 * This function copies a source buffer to a destination buffer. 29 * There is no alignment constraint, but the performance s are improved if thbuffers30 * are both aligned on a 32 bits word boundary. 29 * There is no alignment constraint, but the performance is improved if the buffers 30 * are both aligned on a 32 bits word boundary. 31 31 ******************************************************************************************* 32 32 * @ dst : pointer on destination buffer. … … 37 37 void * memcpy( void * dst, 38 38 const void * src, 39 uint32_t size ); 39 uint32_t size ); 40 40 41 41 /******************************************************************************************* 42 * This function set a constant value in each byte of a target buffer.42 * This function sets a constant value in each byte of a target buffer. 43 43 ******************************************************************************************* 44 44 * @ dst : pointer on destination buffer. 45 * @ val : constant value (cast edto uint8_t).45 * @ val : constant value (cast to uint8_t). 46 46 * @ size : number of bytes. 47 47 * @ return pointer on destination buffer. 48 48 ******************************************************************************************/ 49 void * memset( void * dst, 49 void * memset( void * dst, 50 50 uint32_t val, 51 uint32_t size); 51 uint32_t size); 52 52 53 /******************************************************************************************* 54 * TODO 55 ******************************************************************************************/ 56 int memcmp( const void * s1, 57 const void * s2, 58 uint32_t n); 59
Note: See TracChangeset
for help on using the changeset viewer.