From: Jarkko Hietaniemi Date: Wed, 12 Dec 2001 03:12:46 +0000 (+0000) Subject: (On some platforms) missing truncate FH. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b2ce41205b13ec60dc055bdd1a441b5cf85fbff4;p=p5sagit%2Fp5-mst-13.2.git (On some platforms) missing truncate FH. p4raw-id: //depot/perl@13644 --- diff --git a/pod/perltodo.pod b/pod/perltodo.pod index f0b1b72..94c4f9d 100644 --- a/pod/perltodo.pod +++ b/pod/perltodo.pod @@ -858,4 +858,10 @@ Devel::DebugInit also needs to be extended to support threads. See p5p archives for late May/early June 2001 for a recent discussion on this topic. +=head2 truncate to the people + +One can emulate ftruncate() using F_FREESP and F_CHSIZ fcntls +(see the UNIX FAQ for details). This needs to go somewhere near +pp_sys.c:pp_truncate(). + =cut