rstr_len


Description:

public unowned string? rstr_len (ssize_t haystack_len, string needle)

Searches the string haystack for the last occurrence of the string needle, limiting the length of the search to haystack_len.

Parameters:

haystack_len

the maximum length of haystack

needle

the nul-terminated string to search for

haystack

a nul-terminated string

Returns:

a pointer to the found occurrence, or null if not found.