aug_defvar
Description:
define an Augeas variable
Defines an Augeas variable name
whose value is the result of evaluating expr
. If expr
is NULL, then
name
is undefined.
On success this returns the number of nodes in expr
, or @0 if expr
evaluates to something which is not a nodeset.
Parameters:
this |
A GuestfsSession object |
Returns:
the returned value, or -1 on error |