• David Gibson's avatar
    mem: Implement memrchr() · 40b45c4c
    David Gibson authored
    The memrchr() function, which works like memchr(), but searches from the
    back of the region to the front is implemented in the GNU C library, but
    isn't standard.
    
    This patch adds an implementation of the function to the mem module, when
    it's not available in the system C library.
    Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
    40b45c4c
configurator.c 17.6 KB