[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Few issues for ThreadFile.
From: |
Skye Cove |
Subject: |
Re: Few issues for ThreadFile. |
Date: |
05 Dec 2002 18:26:14 -0800 |
On Thu, 2002-12-05 at 14:01, David Sugar wrote:
> I am not sure how widely portable ftruncate is,
For what it's worth:
Aaccording to `man ftruncate` (on a Linux 2.4.18 system):
"4.4BSD, SVr4 (these function calls first appeared in BSD 4.2). POSIX
1003.1‐1996 has ftruncate. POSIX 1003.1‐2001 also has truncate, as an
XSI extension."
I verified that it is also supported on FreeBSD 4.5, Solaris 8 and HP-UX
11 (though I didn't compile any tests).
Does the win32 API offer anything similar?
-sc