add documentation
gen: additional posix templates