JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... るシェルスクリプトである。 config_file を省略した場合、 デフォルトの設定ファイル /etc/ppp/pppoe.conf が使われる。 著者 adsl-status は David F. Skoll < dfs@roaringpenguin.com > によって 作成された。 pppoe のホームページは http://www.roaringpenguin.com/pp ... ... ィールドで渡す。 この構造体は cmsg (3) を使って読むことができる。 定義は以下の通りである。 struct tpacket_auxdata { __u32 tp_status; __u32 tp_len; /* packet length */ __u32 tp_snaplen; /* captured length */ __u16 tp_mac; __u16 tp_net; __u16 tp_vlan_tci; ... される。 PACKET_LOSS ( PACKET_TX_RING で使用) 送信リングで不正な形式のパケットに遭遇した場合、 デフォルトではそのリングの tp_status を TP_STATUS_WRONG_FORMAT に戻し、その送信を直ちに中止する。 不正な形式のパケットにより、そのパケット自身とその以降にキュー ... に入れられたパケットの送信がブロックされる。形式エラーを修正し、関連する tp_status を TP_STATUS_SEND_REQUEST に設定し直し、 send (2) を使って送信処理を再開しなければならない。 しかしながら、 PACKET_LOSS が ... ... り status & 0xFF ) を親プロセスへ返す ( wait (2) を参照)。 atexit (3) や on_exit (3) によって 登録された全ての関数は、それらが登録さ ... NU C ライブラリなどのいくつかの C ライブラリもこれを採用している); < sysexits.h > を参照すること。 After exit (), the exit status must be transmitted to the parent process. There are three cases: • If the parent has set SA_NOCLDWAIT , or has set the SI ... GCHLD handler to SIG_IGN , the status is discarded and the child dies immediately. • If the parent was waiting on the child, it is notified of the exit status a ... ... ges , const int * nodes , int * status , int flags ); -lnuma とリンクする。 説明 move_pages () は、プロセス pid の指定されたページ pages を nodes で指定されたメモ ... リーノードに移動する。 移動の結果は status に反映される。 flags では移動されるページに関する制約を指定する。 pid is the ID of the process in which pages are to be mo ... DS check with respect to the target process; see ptrace (2). count は移動するページ数である。 count により pages , nodes , status の 3 つの配列の大きさが定義される。 pages は、移動すべきページへのポインターの配列であり、 各ポインターはページ境界に揃えた ... ... 下のように宣言されます: struct timex { int modes; /* Mode selector */ long offset; /* Time offset; nanoseconds, if STA_NANO status flag is set, otherwise microseconds */ long freq; /* Frequency offset; see NOTES for units */ long maxerror; /* Maximum er ... ror (microseconds) */ long esterror; /* Estimated error (microseconds) */ int status; /* Clock command/status */ long constant; /* PLL (phase-locked loop) time constant */ long precision; /* Clock precision ... l time; /* Current time (read-only, except for ADJ_SETOFFSET); upon return, time.tv_usec contains nanoseconds, if STA_NANO status flag is set, otherwise microseconds */ long tick; /* Microseconds between clock ticks */ long ppsfreq; /* PPS (pulse per s ... ... 下のように宣言されます: struct timex { int modes; /* Mode selector */ long offset; /* Time offset; nanoseconds, if STA_NANO status flag is set, otherwise microseconds */ long freq; /* Frequency offset; see NOTES for units */ long maxerror; /* Maximum er ... ror (microseconds) */ long esterror; /* Estimated error (microseconds) */ int status; /* Clock command/status */ long constant; /* PLL (phase-locked loop) time constant */ long precision; /* Clock precision ... l time; /* Current time (read-only, except for ADJ_SETOFFSET); upon return, time.tv_usec contains nanoseconds, if STA_NANO status flag is set, otherwise microseconds */ long tick; /* Microseconds between clock ticks */ long ppsfreq; /* PPS (pulse per s ... ... 下のように宣言されます: struct timex { int modes; /* Mode selector */ long offset; /* Time offset; nanoseconds, if STA_NANO status flag is set, otherwise microseconds */ long freq; /* Frequency offset; see NOTES for units */ long maxerror; /* Maximum er ... ror (microseconds) */ long esterror; /* Estimated error (microseconds) */ int status; /* Clock command/status */ long constant; /* PLL (phase-locked loop) time constant */ long precision; /* Clock precision ... l time; /* Current time (read-only, except for ADJ_SETOFFSET); upon return, time.tv_usec contains nanoseconds, if STA_NANO status flag is set, otherwise microseconds */ long tick; /* Microseconds between clock ticks */ long ppsfreq; /* PPS (pulse per s ... ... XIT_FAILURE); } while (0) struct ioRequest { /* Application-defined structure for tracking I/O requests */ int reqNum; int status; struct aiocb *aiocbp; }; static volatile sig_atomic_t gotSIGQUIT = 0; /* On delivery of SIGQUIT, we attempt to cancel all ... eue a read request on the resulting file descriptor */ for (int j = 0; j < numReqs; j++) { ioList[j].reqNum = j; ioList[j].status = EINPROGRESS; ioList[j].aiocbp = &aiocbList[j]; ioList[j].aiocbp->aio_fildes = open(argv[j + 1], O_RDONLY); if (ioList[j] ... = &ioList[j]; s = aio_read(ioList[j].aiocbp); if (s == -1) errExit("aio_read"); } openReqs = numReqs; /* Loop, monitoring status of I/O requests */ while (openReqs > 0) { sleep (3); /* Delay between each monitoring step */ if (gotSIGQUIT) { /* On rece ... ... 引数として有効な値である。 この場合、イベントは呼び出し元のプロセスに報告されない。 返り値 成功すると、 spu_run () は spu_status レジスターの値を返す。 エラーの場合、-1 を返し、 errno を下記のエラーコードのいずれかに設定する。 spu_status レジスターの値 ... tl.h > #define handle_error(msg) \ do { perror(msg); exit(EXIT_FAILURE); } while (0) int main(void) { int context, fd, spu_status; uint32_t instruction, npc; context = spu_create("/spu/example-context", 0, 0755); if (context == -1) handle_error("spu_cr ... * SPU program. Since we wrote the instruction at the * start of the mem file, the entry point will be 0x0 */ npc = 0; spu_status = spu_run(context, &npc, NULL); if (spu_status == -1) handle_error("open"); /* we should see a status code of 0x1234002: * ... ... pppoe-wrapper は起動に失敗する。 o 上の行があれば、 pppoe-wrapper は linkname を引き数として adsl-start , adsl-stop , adsl-status を実行する。 著者 pppoe-wrapper は David F. Skoll < dfs@roaringpenguin.com > によって 作成された。 pppoe のホームページは ... http://www.roaringpenguin.com/pppoe/ である。 関連項目 adsl-start (8), adsl-stop (8), adsl-status (8), tkpppoe (1) ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。