aboutsummaryrefslogtreecommitdiffstats
path: root/man3/sigevent-struct.3
AgeCommit message (Collapse)AuthorFilesLines
2022-06-15Many pages: Move type pages to subsection 3typeAlejandro Colomar1-1/+0
These pages are not exactly what man3 typically contains, which is library functions. Instead, types fit better in a subsection of man3, and some UNIX systems have already a section 3type, so let's use the same name. Adapt the Makefile to work with this subsection. Except for the Makefile, these changes are scripted. Scripted changes: $ find man3 -type f \ | grep '_t\.3$' \ | while read f; do mv $f ${f}type; done; $ find man? -type f \ | xargs grep -l '^\.so.*_t\.3' \ | xargs sed -i '/^\.so/s/\.3$/\.3type/'; $ find man? -type f \ | xargs grep -l '^\.BR .*_t (3)' \ | xargs sed -i '/^\.BR .*_t (3)/s/3)/3type)/'; $ find man? -type f \ | grep -- '-struct\.[23]$' \ | while read f; do g="$(echo $f | sed 's/-struct//')"type; mv $f $g; done; $ find man? -type f \ | xargs grep -l '^\.so.*-struct\.[23]' \ | xargs sed -i -e '/^\.so/s/-struct//' -e '/^\.so/s/$/type/'; $ find man? -type f \ | xargs grep -l '^\.BR .*-struct (.)' \ | xargs sed -i -e '/^\.BR .*-struct (.)/s/\([23]\)/\1type/' \ -e '/^\.BR .*-struct /s/-struct//'; $ find man? -type f \ | grep -- '-union\.[23]$' \ | while read f; do g="$(echo $f | sed 's/-union//')"type; mv $f $g; done; $ find man? -type f \ | grep '3type' \ | xargs sed -i '/^\.TH/s/ 3 / 3type /'; Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
2022-02-24aiocb-struct.3, lconv-struct.3, sigevent-struct.3, sigval-union.3, ↵Alejandro Colomar1-0/+1
sockaddr-struct.3, timespec-struct.3, timeval-struct.3: Rename some links to system_data_types.7 to add -{struct,union} suffix This avoids shadowing other pages, and clearly differentiates function pages from type pages (both are in man3). Do this for struct/union types, and not for typedefs. This makes sense because typedefs in C are in the same namespace as function identifiers, but struct and union (and enum) tags are in a different one, and can have the same name as a function. Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> Cc: G. Branden Robinson <g.branden.robinson@gmail.com>