> One more way is to borow it -- glibc contains quite compact and independent one -- > though I'm not quite sure about cygwin policy in this respect. We must avoid GPL'd code, so that we can continue to sell proprietary-use licenses and fund the project :-)