JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... ホスト名とポート番号を表示する。 -R 印刷ジョブのランクを表示する。 -U username 自分以外のユーザ名を指定する。 -W which-jobs completed (完了した) と not-completed (未完了) の、 どちらのジョブを表示するかを指定する (後者がデフォルトである)。 このオプションは ... 、 -o オプションやプリンタ名の前に置かなければならない。 そうしないと、スケジューラへの問い合わせでデフォルトの値 (not-completed) が使われることになる。 -a [printer(s)] プリンタ・キューの受け付け状態を表示する。 プリンタの指定がない場合は、すべてのプリ ... ... レスファミリーではない。 EAGAIN For nonblocking UNIX domain sockets, the socket is nonblocking, and the connection cannot be completed immediately. For other socket families, there are insufficient entries in the routing cache. EALREADY ソケットが非停止 (no ... ケット構造体のアドレスがユーザーのアドレス空間外にある。 EINPROGRESS The socket is nonblocking and the connection cannot be completed immediately. (UNIX domain sockets failed with EAGAIN instead.) It is possible to select (2) or poll (2) for completion by ... indicates writability, use getsockopt (2) to read the SO_ERROR option at level SOL_SOCKET to determine whether connect () completed successfully ( SO_ERROR is zero) or unsuccessfully ( SO_ERROR is one of the usual error codes listed here, explaining the ... ... LES 次のプログラムは insque () の使用法を示したものである。 下記はプログラムの実行例である。 $ ./a.out -c a b c Traversing completed list: a b c That was a circular list プログラムのソース #include < stdio.h > #include < stdlib.h > #include < unistd.h > # ... me = argv[optind]; insque(elem, prev); } /* Traverse the list from the start, printing element names */ printf("Traversing completed list:\n"); elem = first; do { printf(" %s\n", elem->name); elem = elem->forward; } while (elem != NULL && elem != first); ... ... LES 次のプログラムは insque () の使用法を示したものである。 下記はプログラムの実行例である。 $ ./a.out -c a b c Traversing completed list: a b c That was a circular list プログラムのソース #include < stdio.h > #include < stdlib.h > #include < unistd.h > # ... me = argv[optind]; insque(elem, prev); } /* Traverse the list from the start, printing element names */ printf("Traversing completed list:\n"); elem = first; do { printf(" %s\n", elem->name); elem = elem->forward; } while (elem != NULL && elem != first); ... ... 4): In progress x I/O completion signal received aio_error(): for request 1 (descriptor 4): I/O succeeded All I/O requests completed aio_return(): for request 0 (descriptor 3): 4 for request 1 (descriptor 4): 2 プログラムのソース #include < fcntl.h > #inc ... ak; default: perror("aio_error"); break; } if (ioList[j].status != EINPROGRESS) openReqs--; } } } printf("All I/O requests completed\n"); /* Check status return of all I/O requests */ printf("aio_return():\n"); for (int j = 0; j < numReqs; j++) { ssize_t ... ... Child writing 1 to efd Child writing 2 to efd Child writing 4 to efd Child writing 7 to efd Child writing 14 to efd Child completed write loop Parent about to read Parent read 28 (0x1c) from efd プログラムのソース #include < sys/eventfd.h > #include < un ... s various bases */ s = write(efd, &u, sizeof(uint64_t)); if (s != sizeof(uint64_t)) handle_error("write"); } printf("Child completed write loop\n"); exit(EXIT_SUCCESS); default: sleep (2); printf("Parent about to read\n"); s = read(efd, &u, sizeof(uint64_ ... ... Child writing 1 to efd Child writing 2 to efd Child writing 4 to efd Child writing 7 to efd Child writing 14 to efd Child completed write loop Parent about to read Parent read 28 (0x1c) from efd プログラムのソース #include < sys/eventfd.h > #include < un ... s various bases */ s = write(efd, &u, sizeof(uint64_t)); if (s != sizeof(uint64_t)) handle_error("write"); } printf("Child completed write loop\n"); exit(EXIT_SUCCESS); default: sleep (2); printf("Parent about to read\n"); s = read(efd, &u, sizeof(uint64_ ... ... Child writing 1 to efd Child writing 2 to efd Child writing 4 to efd Child writing 7 to efd Child writing 14 to efd Child completed write loop Parent about to read Parent read 28 (0x1c) from efd プログラムのソース #include < sys/eventfd.h > #include < un ... s various bases */ s = write(efd, &u, sizeof(uint64_t)); if (s != sizeof(uint64_t)) handle_error("write"); } printf("Child completed write loop\n"); exit(EXIT_SUCCESS); default: sleep (2); printf("Parent about to read\n"); s = read(efd, &u, sizeof(uint64_ ... ... Child writing 1 to efd Child writing 2 to efd Child writing 4 to efd Child writing 7 to efd Child writing 14 to efd Child completed write loop Parent about to read Parent read 28 (0x1c) from efd プログラムのソース #include < sys/eventfd.h > #include < un ... s various bases */ s = write(efd, &u, sizeof(uint64_t)); if (s != sizeof(uint64_t)) handle_error("write"); } printf("Child completed write loop\n"); exit(EXIT_SUCCESS); default: sleep (2); printf("Parent about to read\n"); s = read(efd, &u, sizeof(uint64_ ... ... y MT-Safe 注意 lseek64 () is one of the functions that was specified in the Large File Summit (LFS) specification that was completed in 1996. The purpose of the specification was to provide transitional support that allowed applications on 32-bit systems ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。