ftruncate() and fileno() are not supported on all versions of OpenVMS