lkml.org 
[lkml]   [2020]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: printk of non NULL terminated strings ?
Date
On Thu, 2020-07-09 at 14:56 +0200, Andreas Schwab wrote:
> CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
>
>
> 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.

Looking at that now but have a hard time figuring how to use it, can you give me an example?

Jocke
\
 
 \ /
  Last update: 2020-07-09 15:27    [W:0.056 / U:0.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site