mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 11:56:10 +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
@@ -121,7 +121,7 @@ static off_t memsostream_seek(FAR struct lib_sostream_s *this, off_t offset,
|
||||
void lib_memsostream(FAR struct lib_memsostream_s *outstream,
|
||||
FAR char *bufstart, int buflen)
|
||||
{
|
||||
outstream->public.put = memsostream_putc;
|
||||
outstream->public.putc = memsostream_putc;
|
||||
outstream->public.flush = lib_snoflush;
|
||||
outstream->public.seek = memsostream_seek;
|
||||
outstream->public.nput = 0; /* Total number of characters written */
|
||||
|
||||
Reference in New Issue
Block a user