mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 19:36:35 +08:00
libc/stream: Rename [lib_stream_](put|get) to [lib_stream_](putc|getc)
to make the naming style consistent with each other Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Petro Karashchenko
parent
4be9ec774b
commit
055f1f33eb
@@ -114,9 +114,9 @@ static off_t stdsostream_seek(FAR struct lib_sostream_s *this, off_t offset,
|
||||
void lib_stdsostream(FAR struct lib_stdsostream_s *outstream,
|
||||
FAR FILE *stream)
|
||||
{
|
||||
/* Select the put operation */
|
||||
/* Select the putc operation */
|
||||
|
||||
outstream->public.put = stdsostream_putc;
|
||||
outstream->public.putc = stdsostream_putc;
|
||||
|
||||
/* Select the correct flush operation. This flush is only called when
|
||||
* a newline is encountered in the output stream. However, we do not
|
||||
|
||||
Reference in New Issue
Block a user