1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/stdio_null/stdio_null.c
bors[bot] fb603f2660
Merge #18459 #18724 #19081 #19082 #19136
18459: makefiles/suit: make it possible to accept multiple SUIT keys r=miri64 a=benpicco



18724: nanocoap_sock: implement DTLS socket r=miri64 a=benpicco



19081: sys/stdio_udp: add stdio over UDP r=benpicco a=benpicco



19082: core/init: add early_init() r=benpicco a=benpicco



19136: CI: re-add "synchronize" event to check-labels r=miri64 a=kaspar030



Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
Co-authored-by: Benjamin Valentin <benjamin.valentin@bht-berlin.de>
Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
2023-01-13 13:50:55 +00:00

47 lines
794 B
C

/*
* Copyright (C) 2019 Bas Stottelaar <basstottelaar@gmail.com>
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup sys_stdio_null
* @{
*
* @file
* @brief STDIO null driver
*
* This file provides a null driver for STDIO that does not depend on anything.
*
* @author Bas Stottelaar <basstottelaar@gmail.com>
*
* @}
*/
#include "stdio_base.h"
#define ENABLE_DEBUG 0
#include "debug.h"
void stdio_init(void)
{
}
ssize_t stdio_read(void* buffer, size_t count)
{
(void) buffer;
(void) count;
return 0;
}
ssize_t stdio_write(const void* buffer, size_t len)
{
(void) buffer;
(void) len;
return 0;
}