stream: reduce int use, handle FS_LARGEFILE correctly.

offset int -> offset, len int -> size_t, ret int -> ssize_t

Signed-off-by: buxiasen <buxiasen@xiaomi.com>
This commit is contained in:
buxiasen
2024-11-09 17:10:17 +08:00
committed by Xiang Xiao
parent 2433094ebd
commit a5459cdaca
27 changed files with 186 additions and 181 deletions
+2 -2
View File
@@ -42,8 +42,8 @@ struct obstack_stream
* Private Functions
****************************************************************************/
static int obstack_puts(FAR struct lib_outstream_s *self,
FAR const void *buf, int len)
static ssize_t obstack_puts(FAR struct lib_outstream_s *self,
FAR const void *buf, size_t len)
{
FAR struct obstack_stream *stream = (FAR struct obstack_stream *)self;