has anyone produced versions of the BSD functions ftruncate() and sigsetmask() for SysV, in particular for the 3b1? any pointers as to where these could be found would be helpful. alternatively, are there any SysV equivalent approaches?