[lkml]   [2020]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectprintk of non NULL terminated strings ?
Is there a format (or other function) that lets me
print strings without an \0 terminator using an explicit length arg instead?

Something like:
printk("%s...", str, str_len); /* replace ... */
or some other funktion perhaps ?

 \ /
  Last update: 2020-07-09 14:31    [W:0.039 / U:1.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site