Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

#!/bin/sh
SED="$1"
in="$2"
out="$3"
name="${in##*/}"

case "${name}" in
ev*|bufferev*)	ev=;;
*)		ev=ev;;
esac

${SED} \
	-e "s@event2/${name%.3}@${ev}${name%.h.3}@g" \
	-e '/^\.SH SYNOPSIS/,/^\.PP/ {
	/^.PP/a\
\\fC#include <event2/'${name%.h.3}'\\\&.h>\\fP\
.br
}' < "${in}" > "${out}"