openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/libcap/2.27-r0/libcap-2.27/libcap/cap_flag.c
int cap_clear(cap_t cap_d)
{
    if (good_cap_t(cap_d))
    {

        memset(&(cap_d->u), 0, sizeof(cap_d->u));
        return 0;
    }
    else
    {

        _cap_debug("invalid pointer");
        errno = EINVAL;
        return -1;
    }
}
/*
 *  Reset the capability to be empty (nothing raised)
 */
Reset the capability to be empty (nothing raised)
Reset the capability to be empty ( nothing raised )
int cap_clear(cap_t cap_d)
{
    if (good_cap_t(cap_d))
    {
        memset(&(cap_d->u), 0, sizeof(cap_d->u));
        return 0;
    }
    else
    {
        _cap_debug("invalid pointer");
        errno = EINVAL;
        return -1;
    }
}
int cap_clear ( cap_t cap_d ) { if ( good_cap_t ( cap_d ) ) { memset ( & ( cap_d -> u ) , 0 , sizeof ( cap_d -> u ) ) ; return 0 ; } else { _cap_debug ( " " ) ; errno = EINVAL ; return -1 ; } }
Reset the capability to be empty (nothing raised)
Reset the capability to be empty ( nothing raised )