[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4436dd281299b46f431ad1707c5de42af45ea4f7.camel@infinera.com>
Date: Thu, 9 Jul 2020 12:31:14 +0000
From: Joakim Tjernlund <Joakim.Tjernlund@...inera.com>
To: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: printk 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 ?
Jocke
Powered by blists - more mailing lists