[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Few issues for ThreadFile.
From: |
Leonard Thornton |
Subject: |
RE: Few issues for ThreadFile. |
Date: |
Thu, 5 Dec 2002 21:49:36 -0500 |
Sorry, but no ftruncate in win32.....closest would be "open(....O_TRUNC)..."
Leonard Thornton
Intelis, Inc
address@hidden
+1 770.825.0032 x 203
-----Original Message-----
From: address@hidden [mailto:address@hidden On
Behalf Of Skye Cove
Sent: Thursday, December 05, 2002 9:26 PM
To: address@hidden
Subject: Re: Few issues for ThreadFile.
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
_______________________________________________
Bug-commoncpp mailing list
address@hidden http://mail.gnu.org/mailman/listinfo/bug-commoncpp
<<attachment: winmail.dat>>