Date: Thu, 24 Jul 2003 16:20:04 -0500 From: Marc Wiz <marc@wiz.com> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Quick file allocation Message-ID: <20030724212004.GT5332@freshaire.wiz.com> In-Reply-To: <3F204A80.1050801@xonix.com> References: <5.2.0.9.2.20030724155918.011b52d8@mail.servplex.com> <20030724135916.U68935@thor.65535.net> <3F204A80.1050801@xonix.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 24, 2003 at 05:07:12PM -0400, Ugen wrote: > > fd = open(name, O_WRONLY); > lseek(fd, size_in_bytes, SEEK_SET) > close(fd) > --Ugen It might help if after the lseek a write() call is done :-) Marc -- Marc Wiz marc@wiz.com Yes, that really is my last name.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030724212004.GT5332>
