static int local_truncate(FsContext *ctx, V9fsPath *fs_path, off_t size)

{

    char *buffer;

    int ret;

    char *path = fs_path->data;



    buffer = rpath(ctx, path);

    ret = truncate(buffer, size);

    g_free(buffer);

    return ret;

}

static int local_truncate(FsContext *ctx, V9fsPath *fs_path, off_t size)

{

    char *buffer;

    int ret;

    char *path = fs_path->data;



    buffer = rpath(ctx, path);

    ret = truncate(buffer, size);

    g_free(buffer);

    return ret;

}

    char *buffer;     int ret;     char *path = fs_path->data;     buffer = rpath(ctx, path);     ret = truncate(buffer, size);     g_free(buffer);
static int FUNC_0(FsContext *VAR_0, V9fsPath *VAR_1, off_t VAR_2)

{

    char *VAR_3;

    int VAR_4;

    char *VAR_5 = VAR_1->data;



    VAR_3 = rpath(VAR_0, VAR_5);

    VAR_4 = truncate(VAR_3, VAR_2);

    g_free(VAR_3);

    return VAR_4;

}

static int FUNC_0(FsContext *VAR_0, V9fsPath *VAR_1, off_t VAR_2)
{ char *VAR_3; int VAR_4; char *VAR_5 = VAR_1->data; VAR_3 = rpath(VAR_0, VAR_5); VAR_4 = truncate(VAR_3, VAR_2); g_free(VAR_3); return VAR_4; }