Partager via


String and Block Intrinsic Functions

These function implement common string operations and similar operations on arbitrary blocks of memory. These functions have always been part of the Microsoft C Run-Time Library for Windows CE and the intrinsic versions perform the same operation as the run-time versions except as noted. For more information, see Microsoft C Run-Time Library for Windows CE .NET.

The following table lists the supported intrinsic functions for string and block operations.

Intrinsic function Description
memchr Search for a byte in a memory block.
memcmp Compares specified number of characters from two buffers.
memcpy Copy specified number of characters from one buffer to another.
memset Use given character to initialize specified number of bytes in the buffer.
strcat
wcscat
Append a C string to the end of another.
strcmp, strncmp
wcscmp, wcsncmp
Compare two C strings.
strcpy, strncpy
wcscpy, wcsncpy
Copy a C string to a new address.
strlen
wcslen
Get the length of a C string.
strset
wcsset
Reset all characters in a C string.

See Also

Common Intrinsic Functions | Integer Intrinsic Functions | Floating-Point Intrinsic Functions | System Intrinsic Functions | Microprocessor-specific Intrinsic Functions

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.