May 26, 2018
Script to generate mdoc(7) markup from C functions
c2mdoc is a shell and awk1 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 winces, but still generates markup.