HomeFreeBSD

CMSG_DATA.3: Fix formatting of printf escape sequences

Description

CMSG_DATA.3: Fix formatting of printf escape sequences

Escape sequences like "\n" have to be escaped twice in examples in our
mdoc(7)-based manual pages in order to be displayed properly. The problem
is that otherwise they are interpreted by mdoc(7), which results in:

printf("parent: received '%s'0, buf);

being shown to the user instead of:

printf("parent: received '%s'\n", buf);

Approved by: bcr (mentor)
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D24056

Details

Provenance
0mpAuthored on Mar 13 2020, 11:07 AM
Parents
rG8cf2c8ed64d1: powerpc: Simplify _nodrop variants of FPU and vector register saves
Branches
Unknown
Tags
Unknown

Event Timeline