Messages in this thread | | | Subject | Re: [PATCH] O_STREAMING - flag for optimal streaming I/O | From | Robert Love <> | Date | 08 Oct 2002 14:08:44 -0400 |
| |
On Tue, 2002-10-08 at 06:42, J.A. Magallon wrote:
> Sorry if this is a newbie question, but, does glibc pass flags blindly > to the syscal ?? Ie, I do not need to rebuild glibc to use this in > open(), fcntl() and so on, just I can make sure that bit 04000000 > is set in the flags.
Right. Do something like:
#define O_STREAMING 04000000
fd = open(file, ... | O_STREAMING);
or open it via fopen() and use fcntl() to set O_STREAMING.
Robert Love
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |