Where Online Learning is simpler!
The C and C++ Include Header Files
/usr/include/linux/fs.h
$ cat -n /usr/include/linux/fs.h 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 #ifndef _LINUX_FS_H 3 #define _LINUX_FS_H 4 5 /* 6 * This file has definitions for some important file table structures 7 * and constants and structures used by various generic file system 8 * ioctl's. Please do not make any changes in this file before 9 * sending patches for review to linux-fsdevel@vger.kernel.org and 10 * linux-api@vger.kernel.org. 11 */ 12 13 #include
14 #include
15 #include
16 #include
17 18 /* Use of MS_* flags within the kernel is restricted to core mount(2) code. */ 19 #include
20 21 /* 22 * It's silly to have NR_OPEN bigger than NR_FILE, but you can change 23 * the file limit at runtime and only root can increase the per-process 24 * nr_file rlimit, so it's safe to set up a ridiculously high absolute 25 * upper limit on files-per-process. 26 * 27 * Some programs (notably those using select()) may have to be 28 * recompiled to take full advantage of the new limits.. 29 */ 30 31 /* Fixed constants first: */ 32 #undef NR_OPEN 33 #define INR_OPEN_CUR 1024 /* Initial setting for nfile rlimits */ 34 #define INR_OPEN_MAX 4096 /* Hard limit for nfile rlimits */ 35 36 #define BLOCK_SIZE_BITS 10 37 #define BLOCK_SIZE (1<
Contact us
|
About us
|
Term of use
|
Copyright © 2000-2025 MyWebUniversity.com ™