openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/util-linux/2.33.2-r0/util-linux-2.33.2/libfdisk/src/context.c
int fdisk_enable_bootbits_protection(struct fdisk_context* cxt, int enable)
{
    if (!cxt)
        return -EINVAL;
    cxt->protect_bootbits = enable ? 1 : 0;
    return 0;
}
/**
 * fdisk_enable_bootbits_protection:
 * @cxt: fdisk context
 * @enable: 1 or 0
 *
 * The library zeroizes all the first sector when create a new disk label by
 * default.  This function allows to control this behavior. For now it's
 * supported for MBR and GPT.
 *
 * Returns: 0 on success, < 0 on error.
 */
@cxt: fdisk context
@enable: 1 or 0

The library zeroizes all the first sector when create a new disk label by
default.  This function allows to control this behavior. For now it's
supported for MBR and GPT.

0 on success, < 0 on error.
@cxt : fdisk context @enable : 1 or 0 The library zeroizes all the first sector when create a new disk label by default . This function allows to control this behavior . For now it ' s supported for MBR and GPT . 0 on success < 0 on error .
int fdisk_enable_bootbits_protection(struct fdisk_context* cxt, int enable)
{
    if (!cxt)
        return -EINVAL;
    cxt->protect_bootbits = enable ? 1 : 0;
    return 0;
}
int fdisk_enable_bootbits_protection ( struct fdisk_context * cxt , int enable ) { if ( ! cxt ) return - EINVAL ; cxt -> protect_bootbits = enable ? 1 : 0 ; return 0 ; }
fdisk_enable_bootbits_protection:
 @cxt: fdisk context
 @enable: 1 or 0
fdisk_enable_bootbits_protection : @cxt : fdisk context @enable : 1 or 0