JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... 割り当てられるデフォルトの mq_maxmsg と mq_msgsize の値を表示できる。 このプログラムの実行例を以下に示す。 $ ./a.out /testq Maximum # of messages on queue: 10 Maximum message size: 8192 Linux 3.5 以降では、 ( mq_overview (7) に説明がある) 以下の /proc フ ... _IWUSR, NULL); if (mqd == (mqd_t) -1) errExit("mq_open"); if (mq_getattr(mqd, &attr) == -1) errExit("mq_getattr"); printf("Maximum # of messages on queue: %ld\n", attr.mq_maxmsg); printf("Maximum message size: %ld\n", attr.mq_msgsize); if (mq_unlink(arg ... ... 割り当てられるデフォルトの mq_maxmsg と mq_msgsize の値を表示できる。 このプログラムの実行例を以下に示す。 $ ./a.out /testq Maximum # of messages on queue: 10 Maximum message size: 8192 Linux 3.5 以降では、 ( mq_overview (7) に説明がある) 以下の /proc フ ... _IWUSR, NULL); if (mqd == (mqd_t) -1) errExit("mq_open"); if (mq_getattr(mqd, &attr) == -1) errExit("mq_getattr"); printf("Maximum # of messages on queue: %ld\n", attr.mq_maxmsg); printf("Maximum message size: %ld\n", attr.mq_msgsize); if (mq_unlink(arg ... ... order to protect the kernel against stack overflow, and also to protect against denial of service, there are limits on the maximum recursion depth, and on the maximum number of symbolic links followed. An ELOOP error is returned when the maximum is exce ... eded ("Too many levels of symbolic links"). As currently implemented on Linux, the maximum number of symbolic links that will be followed while resolving a pathname is 40. In kernels before 2.6.18, the limit on th ... rnel's pathname-resolution code was reworked to eliminate the use of recursion, so that the only limit that remains is the maximum of 40 resolutions for the entire pathname. The resolution of symbolic links during this stage can be blocked by using open ... ... が返す構造体と setrlimit () に渡す構造体の両方で使用される)。 resource 引数は次のいずれか 1 つである。 RLIMIT_AS This is the maximum size of the process's virtual memory (address space). The limit is specified in bytes, and is rounded down to the system p ... on machines with a 32-bit long either this limit is at most 2 GiB, or this resource is unlimited. RLIMIT_CORE This is the maximum size of a core file (see core (5)) in bytes that the process may dump. When 0 no core dump files are created. When nonzero ... t need to catch this signal should perform an orderly termination upon first receipt of SIGXCPU .) RLIMIT_DATA This is the maximum size of the process's data segment (initialized data, uninitialized data, and heap). The limit is specified in bytes, and ... ... が返す構造体と setrlimit () に渡す構造体の両方で使用される)。 resource 引数は次のいずれか 1 つである。 RLIMIT_AS This is the maximum size of the process's virtual memory (address space). The limit is specified in bytes, and is rounded down to the system p ... on machines with a 32-bit long either this limit is at most 2 GiB, or this resource is unlimited. RLIMIT_CORE This is the maximum size of a core file (see core (5)) in bytes that the process may dump. When 0 no core dump files are created. When nonzero ... t need to catch this signal should perform an orderly termination upon first receipt of SIGXCPU .) RLIMIT_DATA This is the maximum size of the process's data segment (initialized data, uninitialized data, and heap). The limit is specified in bytes, and ... ... が返す構造体と setrlimit () に渡す構造体の両方で使用される)。 resource 引数は次のいずれか 1 つである。 RLIMIT_AS This is the maximum size of the process's virtual memory (address space). The limit is specified in bytes, and is rounded down to the system p ... on machines with a 32-bit long either this limit is at most 2 GiB, or this resource is unlimited. RLIMIT_CORE This is the maximum size of a core file (see core (5)) in bytes that the process may dump. When 0 no core dump files are created. When nonzero ... t need to catch this signal should perform an orderly termination upon first receipt of SIGXCPU .) RLIMIT_DATA This is the maximum size of the process's data segment (initialized data, uninitialized data, and heap). The limit is specified in bytes, and ... ... が返す構造体と setrlimit () に渡す構造体の両方で使用される)。 resource 引数は次のいずれか 1 つである。 RLIMIT_AS This is the maximum size of the process's virtual memory (address space). The limit is specified in bytes, and is rounded down to the system p ... on machines with a 32-bit long either this limit is at most 2 GiB, or this resource is unlimited. RLIMIT_CORE This is the maximum size of a core file (see core (5)) in bytes that the process may dump. When 0 no core dump files are created. When nonzero ... t need to catch this signal should perform an orderly termination upon first receipt of SIGXCPU .) RLIMIT_DATA This is the maximum size of the process's data segment (initialized data, uninitialized data, and heap). The limit is specified in bytes, and ... ... が返す構造体と setrlimit () に渡す構造体の両方で使用される)。 resource 引数は次のいずれか 1 つである。 RLIMIT_AS This is the maximum size of the process's virtual memory (address space). The limit is specified in bytes, and is rounded down to the system p ... on machines with a 32-bit long either this limit is at most 2 GiB, or this resource is unlimited. RLIMIT_CORE This is the maximum size of a core file (see core (5)) in bytes that the process may dump. When 0 no core dump files are created. When nonzero ... t need to catch this signal should perform an orderly termination upon first receipt of SIGXCPU .) RLIMIT_DATA This is the maximum size of the process's data segment (initialized data, uninitialized data, and heap). The limit is specified in bytes, and ... ... が返す構造体と setrlimit () に渡す構造体の両方で使用される)。 resource 引数は次のいずれか 1 つである。 RLIMIT_AS This is the maximum size of the process's virtual memory (address space). The limit is specified in bytes, and is rounded down to the system p ... on machines with a 32-bit long either this limit is at most 2 GiB, or this resource is unlimited. RLIMIT_CORE This is the maximum size of a core file (see core (5)) in bytes that the process may dump. When 0 no core dump files are created. When nonzero ... t need to catch this signal should perform an orderly termination upon first receipt of SIGXCPU .) RLIMIT_DATA This is the maximum size of the process's data segment (initialized data, uninitialized data, and heap). The limit is specified in bytes, and ... ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。