I am porting a program that uses
* int ftruncate (int fd, long length), which truncates a file
(specified by fd) at the specified length,
to SCO ODT 2.0. Unfortunatly I don't find this function under SCO ODT 2.0.
Does anyone know how to deal with this problem? If there is no such
simple thing as an aquivalent function, is there a work-around?
Please mail directly. I collect the responses and post them to the net.