mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
ba73e13881
wonderful kernel APIs. c2man seems to choke on tcp_subr.c (which I was using as a baseline), so let's do it the long way round instead. This script spits out mdoc(7) markup ready for pasting into the SYNOPSIS section of our wonderful mdoc.template.
9 lines
358 B
Plaintext
9 lines
358 B
Plaintext
c2mdoc is a shell and awk script wrapper which abuses devel/cproto's parser
|
|
to spit out function prototypes in a format ready to paste into FreeBSD
|
|
developer documentation. c2man already claims to do such a thing, but seems
|
|
crippled in the face of our kernel source. The toolchain used by this port
|
|
whinges but still generates markup.
|
|
|
|
Bruce
|
|
bms@FreeBSD.org
|