Welcome to NYCU CSIT Mirror site

Library initialization: libfdisk Reference Manual

Library initialization

Library initialization — initialize debug stuff

Functions

void fdisk_init_debug ()

Description

Functions

fdisk_init_debug ()

void
fdisk_init_debug (int mask);

If the mask is not specified then this function reads LIBFDISK_DEBUG environment variable to get the mask.

Already initialized debugging stuff cannot be changed. It does not have effect to call this function twice.

It's strongly recommended to use fdisk_init_debug(0) in your code.

Parameters

mask

debug mask (0xffff to enable full debuging)

 

Types and Values