Added attributes.

Still compiles under ISO C.
Added dirfile commands to manual.
Made function register dynamic.
Added notice.