src: added tee.c