removablemedia_info_get_free_space()

Retrieve the amount of the total capacity of the removable media that is free.

Synopsis:

#include <bps/removablemedia.h>
 
BPS_API long long removablemedia_info_get_free_space(removablemedia_info_t *info)

Since:

BlackBerry 10.2.0

Arguments:

info

The removablemedia_info_t structure to get the free space from.

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

The removablemedia_info_get_free_space() function retrieves the amount of total capacity of the removable media that is free from a removablemedia_info_t structure. The free space is reported in Mebibytes (MiB) where 1 MiB = 1024*1024 bytes.

Returns:

The amount of free space on the removable media or BPS_FAILURE on error.