JM Project

JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。

Linux マニュアル 一覧

全文・高度検索

per page, with , order by , clip by
Results of 1 - 10 of about 38 for opened (0.005 sec.)
Man page of FANOTIFY_MARK 13742
FANOTIFY_MARK Section: Linux Programmer's Manual (2) Updated: 2020-11-01 Index JM Home Page 名前 fanotify_mark - ファイルシステムオブジェクトへの fanotify マークの追加、削除、変更 書式 #include < sys/fanotify.h > int fanotify_mark(int fanot ... ファイルやディレクトリがオープンされた際にイベントを作成する。 FAN_OPEN_EXEC (Linux 5.0 以降) Create an event when a file is opened with the intent to be executed. See NOTES for additional details. FAN_ATTRIB (Linux 5.1 以降) Create an event when the met ... mask に指定されたか、 fanotify_fd が fanotify ファイルディスクリプターでなかった。 EINVAL The fanotify file descriptor was opened with FAN_CLASS_NOTIF or the fanotify group identifies filesystem objects by file handles and mask contains a flag for perm ... ecution of a program occurs. More specifically, this means that events of these types will be generated for files that are opened using execve (2), execveat (2), or uselib (2). Events of these types will not be raised in the situation where an interpre ...
https://man.mtool.work/man/20260915/man2/fanotify_mark.2.html
Man page of VMSPLICE 12610
VMSPLICE Section: Linux Programmer's Manual (2) Updated: 2019-03-06 Index JM Home Page 名前 vmsplice - ユーザーページをパイプに継ぎ合わせる 書式 #define _GNU_SOURCE /* feature_test_macros (7) 参照 */ #include < fcntl.h > #include < sys/uio. ... h > ssize_t vmsplice(int fd , const struct iovec * iov , unsigned long nr_segs , unsigned int flags ); 説明 If fd is opened for writing, the vmsplice () system call maps nr_segs ranges of user memory described by iov into a pipe. If fd is opened ...
https://man.mtool.work/man/20260915/man2/vmsplice.2.html
Man page of AIO 11478
AIO Section: Linux Programmer's Manual (7) Updated: 2020-08-13 Index JM Home Page 名前 aio - POSIX 非同期 I/O の概要 説明 POSIX 非同期 (AIO) インターフェースを使うと、アプリケーションは、非同期 に (つまり、バックグラウンドで) 実行されるI/O ... では、標準入力に対して 2 つのリクエストを行い、 "abc" と "x" という 2 行の入力を行っている。 $ ./a.out /dev/stdin /dev/stdin opened /dev/stdin on descriptor 3 opened /dev/stdin on descriptor 4 aio_error(): for request 0 (descriptor 3): In progress for re ... List[j].aiocbp->aio_fildes = open(argv[j + 1], O_RDONLY); if (ioList[j].aiocbp->aio_fildes == -1) errExit("open"); printf("opened %s on descriptor %d\n", argv[j + 1], ioList[j].aiocbp->aio_fildes); ioList[j].aiocbp->aio_buf = malloc(BUF_SIZE); if (ioLi ...
https://man.mtool.work/man/20260915/man7/aio.7.html
Man page of GRANTPT 9198
GRANTPT Section: Linux Programmer's Manual (3) Updated: 2017-09-15 Index JM Home Page 名前 grantpt - スレーブ擬似端末へのアクセスを許可する 書式 #include < stdlib.h > int grantpt(int fd ); glibc 向けの機能検査マクロの要件 ( feature_test_mac ... Linux 2.2), the kernel normally sets the correct ownership and permissions for the pseudoterminal slave when the master is opened ( posix_openpt (3)), so that nothing must be done by grantpt (). Thus, no such helper binary is required (and indeed it is ...
https://man.mtool.work/man/20260915/man3/grantpt.3.html
Man page of POLL 8632
POLL Section: Linux Programmer's Manual (2) Updated: 2020-04-11 Index JM Home Page 名前 poll, ppoll - ファイルディスクリプターにおけるイベントを待つ 書式 #include < poll.h > int poll(struct pollfd * fds , nfds_t nfds , int timeout ); #defin ... , and close the FIFO: $ echo aaaaabbbbbccccc > myfifo In the terminal where we are running the program, we would then see: Opened "myfifo" on fd 3 About to poll() Ready: 1 fd=3; events: POLLIN POLLHUP read 10 bytes: aaaaabbbbb About to poll() Ready: 1 ... for (int j = 0; j < nfds; j++) { pfds[j].fd = open(argv[j + 1], O_RDONLY); if (pfds[j].fd == -1) errExit("open"); printf("Opened \"%s\" on fd %d\n", argv[j + 1], pfds[j].fd); pfds[j].events = POLLIN; } /* Keep calling poll() as long as at least one fi ...
https://man.mtool.work/man/20260915/man2/poll.2.html
Man page of POLL 8632
POLL Section: Linux Programmer's Manual (2) Updated: 2020-04-11 Index JM Home Page 名前 poll, ppoll - ファイルディスクリプターにおけるイベントを待つ 書式 #include < poll.h > int poll(struct pollfd * fds , nfds_t nfds , int timeout ); #defin ... , and close the FIFO: $ echo aaaaabbbbbccccc > myfifo In the terminal where we are running the program, we would then see: Opened "myfifo" on fd 3 About to poll() Ready: 1 fd=3; events: POLLIN POLLHUP read 10 bytes: aaaaabbbbb About to poll() Ready: 1 ... for (int j = 0; j < nfds; j++) { pfds[j].fd = open(argv[j + 1], O_RDONLY); if (pfds[j].fd == -1) errExit("open"); printf("Opened \"%s\" on fd %d\n", argv[j + 1], pfds[j].fd); pfds[j].events = POLLIN; } /* Keep calling poll() as long as at least one fi ...
https://man.mtool.work/man/20260915/man2/ppoll.2.html
Man page of POSIX_FALLOCATE 8632
POSIX_FALLOCATE Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前 posix_fallocate - ファイルのスペースを確保する 書式 #include < fcntl.h > int posix_fallocate(int fd , off_t offset , off_t len ); glibc 向けの ... e size increases by another thread or process could result in a file whose size is smaller than expected. * If fd has been opened with the O_APPEND or O_WRONLY flags, the function fails with the error EBADF . In general, the emulation is not MT-safe. O ...
https://man.mtool.work/man/20260915/man3/posix_fallocate.3.html
Man page of MQ_RECEIVE 8066
MQ_RECEIVE Section: Linux Programmer's Manual (3) Updated: 2020-08-13 Index JM Home Page 名前 mq_receive, mq_timedreceive - メッセージキューからメッセージを受信する 書式 #include < mqueue.h > ssize_t mq_receive(mqd_t mqdes , char * msg_ptr ... れるメッセージキュー記述で O_NONBLOCK フラグがセットされていた。 EBADF The descriptor specified in mqdes was invalid or not opened for reading. EINTR 関数呼び出しがシグナルハンドラーにより中断された。 signal (7) 参照。 EINVAL 関数呼び出しは停止するはずで ...
https://man.mtool.work/man/20260915/man2/mq_timedreceive.2.html
Man page of MQ_SEND 8066
MQ_SEND Section: Linux Programmer's Manual (3) Updated: 2020-08-13 Index JM Home Page 名前 mq_send, mq_timedsend - メッセージキューにメッセージを送信する 書式 #include < mqueue.h > int mq_send(mqd_t mqdes , const char * msg_ptr , size_t msg ... れるメッセージキュー記述で O_NONBLOCK フラグがセットされていた。 EBADF The descriptor specified in mqdes was invalid or not opened for writing. EINTR 関数呼び出しがシグナルハンドラーにより中断された。 signal (7) 参照。 EINVAL 関数呼び出しは停止するはずで ...
https://man.mtool.work/man/20260915/man2/mq_timedsend.2.html
Man page of FEXECVE 8066
FEXECVE Section: Linux Programmer's Manual (3) Updated: 2019-10-10 Index JM Home Page 名前 fexecve - ファイルディスクリプターで指定されたプログラムを実行する 書式 #include < unistd.h > int fexecve(int fd , char *const argv [], char *const e ... he file to be executed is specified via a file descriptor, fd , rather than via a pathname. The file descriptor fd must be opened read-only ( O_RDONLY ) or with the O_PATH flag and the caller must have permission to execute the file that it refers to. ...
https://man.mtool.work/man/20260915/man3/fexecve.3.html
PREV 1 2 3 4 NEXT

リンク

日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。