svn commit: r318017 - head/share/man/man4

Warner Losh imp at bsdimp.com
Tue May 9 23:39:30 UTC 2017


It's the passed in radix. In this case it is 32:
        len = vsnrprintf(dev->si_name, sizeof(dev->si_name), 32, fmt, ap);
so we get things like ttya following tty9.

It should be in printf(9), but isn't.

Warner

On Tue, May 9, 2017 at 5:29 PM, Ian Lepore <ian at freebsd.org> wrote:
> On Tue, 2017-05-09 at 08:36 +0000, Edward Tomasz Napierala wrote:
>> Author: trasz
>> Date: Tue May  9 08:36:09 2017
>> New Revision: 318017
>> URL: https://svnweb.freebsd.org/changeset/base/318017
>>
>> Log:
>>   Fix device paths for USB serial adapters: the formatting strings
>>   contain "%u", differently from eg uart(4) which uses "%r".
>>
>
> What is %r and where is it documented?
>
> -- Ian
>
>


More information about the svn-src-all mailing list