Method

GioFileInfoget_attribute_int64

Declaration

gint64
g_file_info_get_attribute_int64 (
  GFileInfo* info,
  const char* attribute
)

Description

Gets a signed 64-bit integer contained within the attribute. If the attribute does not contain a signed 64-bit integer, or is invalid, 0 will be returned.

Parameters

attribute

Type: const char*

A file attribute key.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: gint64

A signed 64-bit integer from the attribute.