stdio.h 719 Bytes
Newer Older
1
2
3
4
5
/*
 * Copyright (c) 2012-2017 Roberto E. Vargas Caballero
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */
6
7
8
9
/*
 * Portions copyright (c) 2018, ARM Limited and Contributors.
 * All rights reserved.
 */
10

Antonio Nino Diaz's avatar
Antonio Nino Diaz committed
11
12
#ifndef STDIO_H
#define STDIO_H
13

14
#include <stdio_.h>
15
16
17
18
19
20
21

#ifndef NULL
#define NULL ((void *) 0)
#endif

#define EOF            -1

Antonio Nino Diaz's avatar
Antonio Nino Diaz committed
22
23
24
25
int printf(const char *fmt, ...);
int snprintf(char *s, size_t n, const char *fmt, ...);
int sprintf(char *s, const char *fmt, ...);
int sscanf(const char *s, const char *fmt, ...);
26

Antonio Nino Diaz's avatar
Antonio Nino Diaz committed
27
28
29
#ifdef STDARG_H
int vsnprintf(char *s, size_t n, const char *fmt, va_list arg);
int vsprintf(char *s, const char *fmt, va_list arg);
30
31
#endif

Antonio Nino Diaz's avatar
Antonio Nino Diaz committed
32
33
int putchar(int c);
int puts(const char *s);
34

Antonio Nino Diaz's avatar
Antonio Nino Diaz committed
35
#endif /* STDIO_H */