octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gzipped data files


From: David Bateman
Subject: Re: gzipped data files
Date: Fri, 29 Apr 2005 17:40:12 +0200
User-agent: Mozilla Thunderbird 0.8 (X11/20040923)

Dmitri A. Sergatskov wrote:

Since we now have all this gzip machinery in place,
would it be easy to add gzip option to fopen()?
That is, I would like to be able to do something like:

fid = fopen("data.dat.gz","rz")
a = fscanf(fid,"%f")

...

Just asking...

Dmitri.

Something like that is relatively easy, as gzopen just a C file descriptor. If the file isn't zipped it is just treated normally...
I don't have any plans to implement it though..

D.

--
David Bateman                                address@hidden
Motorola Labs - Paris +33 1 69 35 48 04 (Ph) Parc Les Algorithmes, Commune de St Aubin +33 1 69 35 77 01 (Fax) 91193 Gif-Sur-Yvette FRANCE

The information contained in this communication has been classified as: [x] General Business Information [ ] Motorola Internal Use Only [ ] Motorola Confidential Proprietary



reply via email to

[Prev in Thread] Current Thread [Next in Thread]