strpbrk function


strpbrk locates characters in a string.


Library:   string.h

Prototype: char * strpbrk(const char *string1, const char *string2);

Syntax:	   char *ptr;
	   char string1[]="martin was ere";
	   char string2[]="ea";

	   ptr=strpbrk(string1, string2);
In this example ptr will be pointing to the first a within martin was ere

See Also:


Example:

Change field seperators to 'blank'.

MAN PAGE


Top Master Index Keywords Functions


Martin Leslie

rx-pump-back'>packet-rx-pump-back net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff

diff options
context:
space:
mode:
Diffstat
-rw-r--r--drivers/net/can/flexcan.c42
1 files changed, 24 insertions, 18 deletions
diff --git a/drivers/net/can/flexcan.c b/drivers/net/can/flexcan.c