[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87h7ugu9rk.fsf@igel.home>
Date: Thu, 09 Jul 2020 14:56:47 +0200
From: Andreas Schwab <schwab@...ux-m68k.org>
To: Joakim Tjernlund <Joakim.Tjernlund@...inera.com>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: printk of non NULL terminated strings ?
On Jul 09 2020, Joakim Tjernlund wrote:
> Is there a format (or other function) that lets me
> print strings without an \0 terminator using an explicit length arg instead?
Use the precision.
Andreas.
--
Andreas Schwab, schwab@...ux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
Powered by blists - more mailing lists