Ken Van Hoeylandt 6e5e35610b
Implement app streams: stdio for apps (#640)
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
2026-08-30 12:07:40 +02:00

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