KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
fs_null.h
Go to the documentation of this file.
1/* KallistiOS ##version##
2
3 kos/fs_null.h
4 Copyright (C) 2024 Donald Haase
5
6*/
7
8/** \file kos/fs_null.h
9 \brief /dev/null, a black hole.
10 \ingroup vfs_dev
11
12 This is a IEEE Std 1003.1-2017 POSIX standard
13 'empty data source and infinite data sink'
14
15 \author Donald Haase
16*/
17
18#ifndef __DC_FS_NULL_H
19#define __DC_FS_NULL_H
20
21#include <sys/cdefs.h>
22__BEGIN_DECLS
23
24#include <kos/fs.h>
25
26/** \defgroup vfs_null /dev/null
27 \brief VFS driver for /dev/null
28 \ingroup vfs
29
30 @{
31*/
32
33/* \cond */
34/* Initialization */
35int fs_null_init(void);
36int fs_null_shutdown(void);
37/* \endcond */
38
39/** @} */
40
41__END_DECLS
42
43#endif /* __DC_FS_NULL_H */
44
Virtual filesystem support.