/* This file is part of the Simba project.  */
static ssize_t find(const char *buf_p, ssize_t pos, ssize_t size, char value)
/* This file is part of the Simba project.  */
static ssize_t find(const char *buf_p, ssize_t pos, ssize_t size, char value)
{
    while (pos < size) {
        if (*buf_p == value) {
            return (pos);
        }
        pos++;
        buf_p++;
    }
    return (-1);
}