yw_strstr

Name

yw_strstr -- find one string in another

Synopsis


     #include <yw/util.h>
   

char *yw_strstr(const char *heystack, const char *needle);

DESCRIPTION

This function seraches in \0 terminated 8 bit string heystack for needle. It's the same as BSD strstr(3) function. Implementation is schamelessly stolen from Linux kernel.

RETURN VALUE

When needle is found, pointer to it in heystack and otherwise NULL is returned.

SEE ALSO

strstr (3),

INFO

Generated from: util.c,v 1.4 2001/05/11 10:38:05 malekith Exp.