Find occurrence of mem (with length mem_len) in pbuf p, starting at offset start_offset.
- Parameters:
-
| p | pbuf to search, maximum length is 0xFFFE since 0xFFFF is used as return value 'not found' |
| mem | search for the contents of this buffer |
| mem_len | length of 'mem' |
| start_offset | offset into p at which to start searching |
- Returns:
- 0xFFFF if substr was not found in p or the index where it was found
Definition at line 1117 of file pbuf.c.
Referenced by pbuf_strstr().