The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* printk of non NULL terminated strings ?
@ 2020-07-09 12:31 Joakim Tjernlund
  2020-07-09 12:56 ` Andreas Schwab
  0 siblings, 1 reply; 5+ messages in thread
From: Joakim Tjernlund @ 2020-07-09 12:31 UTC (permalink / raw)
  To: linux-kernel@vger.kernel.org

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 ?

 Jocke

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-07-09 15:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-09 12:31 printk of non NULL terminated strings ? Joakim Tjernlund
2020-07-09 12:56 ` Andreas Schwab
2020-07-09 13:26   ` Joakim Tjernlund
2020-07-09 13:30     ` Rasmus Villemoes
2020-07-09 15:28       ` Joakim Tjernlund

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox