Lazuli
Loading...
Searching...
No Matches
stdio.h
Go to the documentation of this file.
1/*
2 * SPDX-License-Identifier: GPL-3.0-only
3 * This file is part of Lazuli.
4 */
5
14#ifndef STDIO_H
15#define STDIO_H
16
17#include <Lazuli/common.h>
18
20
24#define EOF ((int)-1)
25
58int
59printf(const char * format, ...);
60
72int
73putchar(int c);
74
86int
87puts(const char *s);
88
90
91#endif /* STDIO_H */
Basic type definitions and useful macros.
#define _EXTERN_C_DECL_BEGIN
Open C++ header file declarations.
Definition common.h:39
#define _EXTERN_C_DECL_END
Close C++ header file declarations.
Definition common.h:44
int printf(const char *format,...)
Produce unbuffered formatted output to the serial line.
Definition printf.c:191
int puts(const char *s)
Transmit the NUL-terminated string s followed by a trailing newline on the serial line,...
Definition usart.c:52
int putchar(int c)
Transmit a single character on the serial line.
Definition usart.c:40