start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: times Chapter 5
Function Reference
Next: Reference: uc
 

truncate

truncate 
file
, 
length

Truncates a file (given as a filehandle or by name) to the specified length. The function produces a fatal error if truncate(2) or an equivalent isn't implemented on your system.


Previous: Reference: times Perl in a Nutshell Next: Reference: uc
Reference: times Book Index Reference: uc

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.