/usr/include/xenomai/posix/stdio.h is in libxenomai-dev 2.6.4+dfsg-0.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | /*
* Copyright (C) 2011-2013 Gilles Chanteperdrix <gch@xenomai.org>.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
#ifndef __KERNEL__
#pragma GCC system_header
#include_next <stdio.h>
#ifndef _XENO_POSIX_STDIO_H
#define _XENO_POSIX_STDIO_H
#include <stddef.h>
#include <stdarg.h>
#include <xeno_config.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
int __real_vfprintf(FILE *stream, const char *fmt, va_list args);
#ifdef CONFIG_XENO_FORTIFY
int __real___vfprintf_chk(FILE *stream, int level, const char *fmt, va_list ap);
#endif
int __real_vprintf(const char *fmt, va_list args);
int __real_fprintf(FILE *stream, const char *fmt, ...);
int __real_printf(const char *fmt, ...);
int __real_puts(const char *s);
int __real_fputs(const char *s, FILE *stream);
int __real_fputc(int c, FILE *stream);
int __real_putchar(int c);
size_t __real_fwrite(const void *ptr, size_t sz, size_t nmemb, FILE *stream);
int __real_fclose(FILE *stream);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _XENO_POSIX_STDIO_H */
#endif /* !__KERNEL__ */
|