threaded version and errno for the non-threaded version. Sounds logical. I'm not even sure you need a way to override it but that's up to you. Do it :-) Cheers, Davidm -- David McCullough: Ph: +61 7 3435 2815 http://www.SnapGear.com davidm at snapgear.com Fx: +61 7 3891 3630 Custom Embedded Solutions + Security