There should be a large-file version of mkstemp in libc (to which mkstemp would be aliased when _FILE_OFFSET_BITS=64). -- Joseph S. Myers jsm28@cam.ac.uk