JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... , fd should refer to a pipe or FIFO. For fpathconf (), path should refer to a FIFO or a directory; in the latter case, the returned value corresponds to FIFOs created in that directory. The corresponding macro is _POSIX_PIPE_BUF . _PC_CHOWN_RESTRICTED Th ... は端末を参照していなければならない。 返り値 The return value of these functions is one of the following: * On error, -1 is returned and errno is set to indicate the cause of the error (for example, EINVAL , indicating that name is invalid). * If name cor ... responds to a maximum or minimum limit, and that limit is indeterminate, -1 is returned and errno is not changed. (To distinguish an indeterminate limit from an error, set errno to zero before the call, and the ... ... , fd should refer to a pipe or FIFO. For fpathconf (), path should refer to a FIFO or a directory; in the latter case, the returned value corresponds to FIFOs created in that directory. The corresponding macro is _POSIX_PIPE_BUF . _PC_CHOWN_RESTRICTED Th ... は端末を参照していなければならない。 返り値 The return value of these functions is one of the following: * On error, -1 is returned and errno is set to indicate the cause of the error (for example, EINVAL , indicating that name is invalid). * If name cor ... responds to a maximum or minimum limit, and that limit is indeterminate, -1 is returned and errno is not changed. (To distinguish an indeterminate limit from an error, set errno to zero before the call, and the ... ... stack near 0xb75cf3b8; argv_string=salut Thread 3: top of stack near 0xb6dce3b8; argv_string=servus Joined with thread 1; returned value was HOLA Joined with thread 2; returned value was SALUT Joined with thread 3; returned value was SERVUS 次の実行例で ... stack near 0xb7c713b8; argv_string=salut Thread 3: top of stack near 0xb7b703b8; argv_string=servus Joined with thread 1; returned value was HOLA Joined with thread 2; returned value was SALUT Joined with thread 3; returned value was SERVUS プログラムの ... ; exit(EXIT_FAILURE); } while (0) struct thread_info { /* Used as argument to thread_start() */ pthread_t thread_id; /* ID returned by pthread_create() */ int thread_num; /* Application-defined thread # */ char *argv_string; /* From command-line argument ... ... の構造体の配列である。 struct pollfd { int fd; /* file descriptor */ short events; /* requested events */ short revents; /* returned events */ }; nfds には、 fds 配列の要素数を指定する。 fd フィールドには、オープンされたファイルのファイルディスクリプターが ... ダーファイルをインクルードするよりも前に) _GNU_SOURCE 機能検査マクロを定義しなければならない。 POLLERR Error condition (only returned in revents ; ignored in events ). This bit is also set for a file descriptor referring to the write end of a pipe when the ... read end has been closed. POLLHUP Hang up (only returned in revents ; ignored in events ). Note that when reading from a channel such as a pipe or a stream socket, this event mere ... ... の構造体の配列である。 struct pollfd { int fd; /* file descriptor */ short events; /* requested events */ short revents; /* returned events */ }; nfds には、 fds 配列の要素数を指定する。 fd フィールドには、オープンされたファイルのファイルディスクリプターが ... ダーファイルをインクルードするよりも前に) _GNU_SOURCE 機能検査マクロを定義しなければならない。 POLLERR Error condition (only returned in revents ; ignored in events ). This bit is also set for a file descriptor referring to the write end of a pipe when the ... read end has been closed. POLLHUP Hang up (only returned in revents ; ignored in events ). Note that when reading from a channel such as a pipe or a stream socket, this event mere ... ... ついての説明については openat (2) を参照。 返り値 On success, these calls return the number of bytes placed in buf . (If the returned value equals bufsiz , then truncation may have occurred.) On error, -1 is returned and errno is set to indicate the error. ... ) == -1) { perror("lstat"); exit(EXIT_FAILURE); } /* Add one to the link size, so that we can determine whether the buffer returned by readlink() was truncated. */ bufsiz = sb.st_size + 1; /* Some magic symlinks under (for example) /proc and /sys report ... ed (perhaps because the target was changed between the call to lstat() and the call to readlink()). Warn the user that the returned target may have been truncated. */ if (nbytes == bufsiz) printf("(Returned buffer may have been truncated)\n"); free(buf); ... ... ついての説明については openat (2) を参照。 返り値 On success, these calls return the number of bytes placed in buf . (If the returned value equals bufsiz , then truncation may have occurred.) On error, -1 is returned and errno is set to indicate the error. ... ) == -1) { perror("lstat"); exit(EXIT_FAILURE); } /* Add one to the link size, so that we can determine whether the buffer returned by readlink() was truncated. */ bufsiz = sb.st_size + 1; /* Some magic symlinks under (for example) /proc and /sys report ... ed (perhaps because the target was changed between the call to lstat() and the call to readlink()). Warn the user that the returned target may have been truncated. */ if (nbytes == bufsiz) printf("(Returned buffer may have been truncated)\n"); free(buf); ... ... プロセッサ数。 get_nprocs_conf (3) も参照。 返り値 The return value of sysconf () is one of the following: * On error, -1 is returned and errno is set to indicate the cause of the error (for example, EINVAL , indicating that name is invalid). * If name cor ... responds to a maximum or minimum limit, and that limit is indeterminate, -1 is returned and errno is not changed. (To distinguish an indeterminate limit from an error, set errno to zero before the call, and the ... n check whether errno is nonzero when -1 is returned.) * If name corresponds to an option, a positive value is returned if the option is supported, and -1 is returned if the o ... ... トコルを用いる。 これらの引数の詳細は socket (2) を参照のこと。 The file descriptors used in referencing the new sockets are returned in sv[0] and sv[1] . The two sockets are indistinguishable. 返り値 On success, zero is returned. On error, -1 is returned, ... ... the socket file are set according to the usual rules. The socket file has all permissions enabled, other than those that are turned off by the process umask (2). The owner, group, and permissions of a pathname socket can be changed (using chown (2) and ... the credentials of the sending process in an SCM_CREDENTIALS ancillary message in each subsequently received message. The returned credentials are those specified by the sender using SCM_CREDENTIALS , or a default that includes the sender's PID, real us ... されていないと、抽象名前空間に他と重ならない名前が自動的に生成される。 The value given as an argument to setsockopt (2) and returned as the result of getsockopt (2) is an integer boolean flag. SO_PASSSEC Enables receiving of the SELinux security label of ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。