Hi again We also lack basename_r and dirname_r. We can grab basename_r from FreeBSD. Any objection? http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/gen/basename.c?rev=1.8 Unfortunately they do not have a dirname_r to steal :-) -- Emmanuel Dreyfus manu%netbsd.org@localhost