mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-10-17 10:55:06 +00:00
Implement file IO for applications to facilitate text input/output capturing. Apps can now launch apps and: - Read their stdio output - Write to their stdio input
19 lines
370 B
C
19 lines
370 B
C
// SPDX-License-Identifier: Apache-2.0
|
|
#pragma once
|
|
|
|
#include <app/file.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/**
|
|
* @return the shared null-device AppFile: write() discards data and reports success, read()
|
|
* reports EOF, close() is a no-op, and it is always reported readable/writable.
|
|
*/
|
|
const struct AppFile* app_null_file(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|