generic/tcl-augeas.c
static int
Close_Cmd(ClientData cdata, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
{
    augeas *aug;

    if (objc != 2) {
        Tcl_WrongNumArgs(interp, 1, objv, USAGE_CLOSE);
        return TCL_ERROR;
    }

    aug = parse_id(cdata, interp, objv[1], 1);
    if (aug == NULL) {
        return TCL_ERROR;
    }

    aug_close(aug);

    return TCL_OK;
}
/*
 * Close an Augeas object.
 * Return value: nothing.
 * Side effects: closes an Augeas object and marks its slot as available.
 */
Close an Augeas object.
Return value: nothing.
Side effects: closes an Augeas object and marks its slot as available.
Close an Augeas object . Return value : nothing . Side effects : closes an Augeas object and marks its slot as available .
static int
Close_Cmd(ClientData cdata, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
{
    augeas *aug;
    if (objc != 2) {
        Tcl_WrongNumArgs(interp, 1, objv, USAGE_CLOSE);
        return TCL_ERROR;
    }
    aug = parse_id(cdata, interp, objv[1], 1);
    if (aug == NULL) {
        return TCL_ERROR;
    }
    aug_close(aug);
    return TCL_OK;
}
static int Close_Cmd ( ClientData cdata , Tcl_Interp * interp , int objc , Tcl_Obj * const objv [ ] ) { augeas * aug ; if ( objc != 2 ) { Tcl_WrongNumArgs ( interp , 1 , objv , USAGE_CLOSE ) ; return TCL_ERROR ; } aug = parse_id ( cdata , interp , objv [ 1 ] , 1 ) ; if ( aug == NULL ) { return TCL_ERROR ; } aug_close ( aug ) ; return TCL_OK ; }
Close an Augeas object.
Close an Augeas object .