walnux/drivers/syslog
wangchengdong 474835eabe drivers/syslog: let syslog_write() return the maximum bytes writen
In current implementation, when doing syslog_write(), there may
 be more than one channel, the syslog will iterate each channel,
 but only return the bytes writen through the last channel, the
 better way should be returning the maximum bytes writen
 through one channel.

Signed-off-by: Chengdong Wang <wangchengdong@lixiang.com>
2025-09-14 11:08:35 -04:00
..
CMakeLists.txt drivers/syslog: Add RFC 5424 protocol support 2025-06-13 20:26:57 +08:00
Kconfig drivers/syslog: Add RFC 5424 protocol support 2025-06-13 20:26:57 +08:00
Make.defs drivers/syslog: Add RFC 5424 protocol support 2025-06-13 20:26:57 +08:00
ramlog.c style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
syslog.h syslog/inbuffer: refactor intbuffer to circbuf 2024-12-17 20:48:23 +08:00
syslog_channel.c drivers/syslog/syslog_channel.c: fix incompatible-pointer-types compile errors 2025-08-07 10:16:20 -03:00
syslog_chardev.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
syslog_console.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
syslog_consolechannel.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
syslog_devchannel.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
syslog_device.c style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
syslog_filechannel.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
syslog_flush.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
syslog_initialize.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
syslog_intbuffer.c sched/spin_lock: rename raw_spin_lock to spin_lock_notrace 2025-02-13 20:48:15 +08:00
syslog_rpmsg.c syslog/rpmsg: disable force put char to lower putc 2025-06-03 17:33:03 +08:00
syslog_rpmsg.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
syslog_rpmsg_server.c syslog/rpmsg_server: fix build break if enable SYSLOG_RPMSG/SYSLOG_RPMSG_SERVER 2025-02-25 10:51:37 +01:00
syslog_stream.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
syslog_write.c drivers/syslog: let syslog_write() return the maximum bytes writen 2025-09-14 11:08:35 -04:00
vsyslog.c drivers/syslog: Add RFC 5424 protocol support 2025-06-13 20:26:57 +08:00
vsyslog_rfc5424.c drivers/syslog: Add RFC 5424 protocol support 2025-06-13 20:26:57 +08:00