mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
libc/stream: add file out stream
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
0c95bf73dc
commit
81fccf96db
@@ -205,6 +205,12 @@ struct lib_rawoutstream_s
|
||||
int fd;
|
||||
};
|
||||
|
||||
struct lib_fileoutstream_s
|
||||
{
|
||||
struct lib_outstream_s common;
|
||||
struct file *file;
|
||||
};
|
||||
|
||||
struct lib_rawsistream_s
|
||||
{
|
||||
struct lib_sistream_s common;
|
||||
@@ -396,6 +402,8 @@ void lib_rawinstream(FAR struct lib_rawinstream_s *stream, int fd);
|
||||
void lib_rawoutstream(FAR struct lib_rawoutstream_s *stream, int fd);
|
||||
void lib_rawsistream(FAR struct lib_rawsistream_s *stream, int fd);
|
||||
void lib_rawsostream(FAR struct lib_rawsostream_s *stream, int fd);
|
||||
void lib_fileoutstream(FAR struct lib_fileoutstream_s *stream,
|
||||
FAR struct file *file);
|
||||
|
||||
/****************************************************************************
|
||||
* Name: lib_bufferedoutstream
|
||||
|
||||
Reference in New Issue
Block a user