[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
[LI] meaning of macros NR_OPEN NR_FILE
hello,
just i was going through the include Directory of linux and i opened
"fs.h" and "file.h" to know how file system is implemented in linux.
I found two macros NR_OPEN && NR_FILE i could not understand the meaning
of these macros.
----------------------------------------------
File Location linux-2.0.36/include/linux/fs.h
----------------------------------------------
After defining the macros this comment was written .
/*
* It's silly to have NR_OPEN bigger than NR_FILE, but I'll fix
* that later. Anyway, now the file code is no longer dependent
* on bitmaps in unsigned longs, but uses the new fd_set structure..
*
* Some programs (notably those using select()) may have to be
* recompiled to take full advantage of the new limits..
*/
Please anybody elaborate the meaning of these macros.
bye anil
--------------------------------------------------------------------
The Linux India Mailing List Archives are now available. Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.