Package: glib

Function glib:key-file-uint64

Lambda List

glib:key-file-uint64 (keyfile group key)

Syntax

(g:key-file-uint64 keyfile group key) => value
(setf (g:key-file-uint64 keyfile group key) value)

Arguments

keyfile -- a g:key-file instance
group -- a string for the group name
key -- a string for the key
value -- an integer for the value associated with the key as an integer

Details

Gets or sets the value associated with key under group as an integer. If key cannot be found when it is set, the key is created. If key cannot be found when it is retrieved, 0 is returned. Likewise, if the value associated with key cannot be interpreted as an integer then 0 is returned.

This is similar to the g:key-file-integer function but can return 64-bit results without truncation.
 

See also

2025-09-27