groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

.ad l/.ad b


From: Alejandro Colomar (man-pages)
Subject: .ad l/.ad b
Date: Sun, 12 Sep 2021 13:13:07 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

Hi, Branden and Michael!

I've seen these in shmctl.2, and didn't know what they mean.
groff(7) wasn't very helpful.

[
.SH SYNOPSIS
.nf
.ad l
.B #include <sys/shm.h>
.PP
.BI "int shmctl(int " shmid ", int " cmd ", struct shmid_ds *" buf );
.ad b
.fi
]

What are those '.ad X' and do we really need them?

I found some other pages that use it:

[
.../linux/man-pages$ grep -rn '^\.ad b' man?
man1/localedef.1:60:.ad b
man2/setsid.2:40:.ad b
man2/acct.2:41:.ad b
man2/shmctl.2:55:.ad b
man2/shmget.2:50:.ad b
]

groff(7) related info:

[
       .ad       Begin line adjustment for output lines in current
                 adjust mode.
       .ad c     Start line adjustment in mode c (c=l,r,c,b,n).
]

But what does each mode mean? I couldn't find anything about them in the manual page.


Thanks,

Alex


--
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]