static pid_t qtest_qemu_pid(QTestState *s)

{

    FILE *f;

    char buffer[1024];

    pid_t pid = -1;



    f = fopen(s->pid_file, "r");

    if (f) {

        if (fgets(buffer, sizeof(buffer), f)) {

            pid = atoi(buffer);

        }

        fclose(f);

    }

    return pid;

}

static pid_t qtest_qemu_pid(QTestState *s)

{

    FILE *f;

    char buffer[1024];

    pid_t pid = -1;



    f = fopen(s->pid_file, "r");

    if (f) {

        if (fgets(buffer, sizeof(buffer), f)) {

            pid = atoi(buffer);

        }

        fclose(f);

    }

    return pid;

}

static pid_t qtest_qemu_pid(QTestState *s)     f = fopen(s->pid_file, "r");
static pid_t FUNC_0(QTestState *s)

{

    FILE *f;

    char VAR_0[1024];

    pid_t pid = -1;



    f = fopen(s->pid_file, "r");

    if (f) {

        if (fgets(VAR_0, sizeof(VAR_0), f)) {

            pid = atoi(VAR_0);

        }

        fclose(f);

    }

    return pid;

}

static pid_t FUNC_0(QTestState *s)
{ FILE *f; char VAR_0[1024]; pid_t pid = -1; f = fopen(s->pid_file, "r"); if (f) { if (fgets(VAR_0, sizeof(VAR_0), f)) { pid = atoi(VAR_0); } fclose(f); } return pid; }