tests: Fixes test-io-channel-file by mask only owner file state mask bits
[qemu/ar7.git] / include / qemu / qemu-print.h
blob40b596262fae5559a4d6bbd9da6c693b80a0cf6c
1 /*
2 * Print to stream or current monitor
4 * Copyright (C) 2019 Red Hat Inc.
6 * Authors:
7 * Markus Armbruster <armbru@redhat.com>,
9 * This work is licensed under the terms of the GNU GPL, version 2 or later.
10 * See the COPYING file in the top-level directory.
13 #ifndef QEMU_PRINT_H
14 #define QEMU_PRINT_H
16 int qemu_vprintf(const char *fmt, va_list ap) GCC_FMT_ATTR(1, 0);
17 int qemu_printf(const char *fmt, ...) GCC_FMT_ATTR(1, 2);
19 int qemu_vfprintf(FILE *stream, const char *fmt, va_list ap)
20 GCC_FMT_ATTR(2, 0);
21 int qemu_fprintf(FILE *stream, const char *fmt, ...) GCC_FMT_ATTR(2, 3);
23 #endif