Jim Meyering wrote: > +#ifdef POSIX_FADV_DONTNEED > + off_t off = lseek (STDOUT_FILENO, 0, SEEK_CUR); > + if (0 <= off) > + ignore_value (posix_fadvise (STDOUT_FILENO, > + off, 0, POSIX_FADV_DONTNEED)); > +#endif
That reminds me that it would be nice to have [io]flag=stream to read/write files without polluting the cache etc. cheers, Pádraig.
