Skip to content
Commit f2616c77 authored by Steven Rostedt (VMware)'s avatar Steven Rostedt (VMware)
Browse files

seq_buf: Add seq_buf_terminate() API



In the case that the seq_buf buffer needs to be printed directly, add a way
to make sure that the buffer is safe to read by forcing a nul terminating
character at the end of the string, or the last byte of the buffer if the
string has overflowed.

Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
parent 5013f454
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment