Re: file-size
Ralf Juengling <[email protected]> Mon, 7 Jan 2008 17:30:49 -0800 (PST)
| Newsgroups | gmane.lisp.lush.devel |
|---|---|
| Message-ID | <[email protected]> |
Arrg, 'fsize' is already taken... ------------------------------------------------------------------------ (fsize <f>) [DX] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Returns the number of bytes remaining in the file. When the file is not exhaustable or not rewindable (such as pipes and terminals) it causes an error. On Mon, 7 Jan 2008, Ralf Juengling wrote: > > I just noticed that there are two functions called > 'file-size' (see below). Perhaps the version in > libc/stdio.lsh could be renamed to 'fsize'? > > Ralf > > > ? ^Afile-size > Search Results for: file-size > 1. (file-size <file-name>) > 2. (file-size <f>) > choice> 1 > > ------------------------------------------------------------------------ > (file-size <file-name>) [DE](lsh/libc/stdio.lsh) > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . > Last Modified: 2007-10-19 15:52:29 > > returns the size in byte of file file-name author: Leon Bottou. > = () > > ? ^Afile-size > 2Search Results for: file-size > 1. (file-size <file-name>) > 2. (file-size <f>) > choice> 2 > > ------------------------------------------------------------------------ > (file-size <f>) [DE](lsh/libc/shell.lsh) > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . > Last Modified: 2007-10-19 15:52:29 > > return the size of file f in bytes > = () > > > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Lush-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/lush-devel > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace