coreboot/src/include/stdio.h
Elyes Haouas bdd03c20d5 tree: Use <stdio.h> for snprintf
<stdio.h> header is used for input/output operations (such as printf,
scanf, fopen, etc.). Although some input/output functions can manipulate
strings, they do not need to directly include <string.h> because they
are declared independently.

Change-Id: Ibe2a4ff6f68843a6d99cfdfe182cf2dd922802aa
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/82665
Reviewed-by: Yidi Lin <yidilin@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2024-05-29 10:33:54 +00:00

14 lines
242 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
/**
* Note: This file is only for POSIX compatibility.
*/
#ifndef STDIO_H
#define STDIO_H
#include <stddef.h>
int snprintf(char *buf, size_t size, const char *fmt, ...);
#endif /* STDIO_H */