[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


wmemchr

Search for an occurrence of a wide character.

Compatibility:

This function is compatible with the following targets:

ANSI

BeOS

EMB/RTOS

Mac OS

Palm OS

Win32


Prototype:
#include <wchar.h>
void * wmemchr(const void * src, 
  int val, size_t n);
Parameters:

Parameters for this function are:

src  
const void *  
The string to be searched  
val  
int  
The value to search for  
n  
size_t  
The maximum length of a search  

Remarks:

Performs the same task as memchr for a wide character type.

Return:

Returns a pointer to the found wide character, or a null pointer (NULL) if val cannot be found.

See Also:

"memchr"

"wcschr"


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 16, 2000