Ethereal-dev: Re: [Ethereal-dev] file close.

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Richard Sharpe <rsharpe@xxxxxxxxxxxxxxxxx>
Date: Tue, 7 Jan 2003 08:04:29 -0800 (PST)
On Tue, 7 Jan 2003, Mudium, Ravi Kumar (Ravi) wrote:

> Hi 
> 
> I have a requirement to make the file contents to zero but the file should
> be left open through c source code. 
> Can any one help me in finding out the required system call.

Have you tried man? How about ftruncate?

Regards
-----
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com