JM Project

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

Linux マニュアル 一覧

全文・高度検索

per page, with , order by , clip by
Results of 1 - 10 of about 17 for func (0.008 sec.)
Man page of BDFLUSH 13759
BDFLUSH Section: Linux Programmer's Manual (2) Updated: 2016-10-08 Index JM Home Page 名前 bdflush - バッファーダーティーフラッシュデーモンを起動、フラッシュ、調整する 書式 #include < sys/kdaemon.h > int bdflush(int func , long * address ); ... int bdflush(int func , long data ); 説明 注意 : Linux 2.6 以降では、このシステムコールは非推奨であり、何も行わない。 将来のカーネルのリリースで ... 整 (tune) する。 ( CAP_SYS_ADMIN ケーパビリティ (capability) を持つ) 特権プロセスのみが bdflush () を呼び出すことができる。 func が負か 0 でデーモンが起動されていなれば、 bdflush () はデーモンのコードへ入り、戻ってこない。 func が 1 ならば、 汚れた (d ... irty) バッファーがディスクへと書き込まれる。 func が 2 以上で偶数 (最小ビットが 0) ならば、 address にロングワードでアドレスを指定し、そのアドレスに ( func -2)/2 で指定され ...
https://man.mtool.work/man/20260915/man2/bdflush.2.html
Man page of MODIFY_LDT 11742
MODIFY_LDT Section: Linux Programmer's Manual (2) Updated: 2012-07-13 Index JM Home Page 名前 modify_ldt - ldt を設定または取得する 書式 #include < sys/types.h > int modify_ldt(int func , void * ptr , unsigned long bytecount ); 注 : このシス ... セスごとのメモリー管理テーブルである。 このテーブルに関してのより詳しい情報は Intel 386 processor handbook を 参照すること。 func が 0 ならば、 modify_ldt () は ldt を ptr が指しているメモリーに読み込む。 読み込むバイト数は実際の ldt のサイズか bytecou ... nt より小さい方である。 func が 1 ならば、 modify_ldt () は ldt エントリーの一つを変更する。 ptr は user_desc 構造体を指し、 bytecount はこの構造体の大 ... 返し、 errno をエラーを示す値に設定する。 エラー EFAULT ptr がアドレス空間の外を指している。 EINVAL ptr が 0 である、 または func が 1 で bytecount が modify_ldt_ldt_s 構造体のサイズと等しくないか、 func が 1 で新しい ldt エントリーが無効な値である。 E ...
https://man.mtool.work/man/20260915/man2/modify_ldt.2.html
Man page of PTHREAD_CANCEL 10793
PTHREAD_CANCEL Section: Linux Programmer's Manual (3) Updated: 2020-06-09 Index JM Home Page 名前 pthread_cancel - スレッドにキャンセル要求を送る 書式 #include < pthread.h > int pthread_cancel(pthread_t thread ); -pthread でコンパイルしてリ ... PTHREAD_CANCELED かどうかを 確認する。以下のシェルセッションはこのプログラムを実行した際の実行例である。 $ ./a.out thread_func(): started; cancellation disabled main(): sending cancellation request thread_func(): about to enable cancellation main(): ... .h > #define handle_error_en(en, msg) \ do { errno = en; perror(msg); exit(EXIT_FAILURE); } while (0) static void * thread_func(void *ignored_argument) { int s; /* Disable cancellation for a while, so that we don't immediately react to a cancellation ... ead_setcancelstate(PTHREAD_CANCEL_DISABLE, NULL); if (s != 0) handle_error_en(s, "pthread_setcancelstate"); printf("thread_func(): started; cancellation disabled\n"); sleep (5); printf("thread_func(): about to enable cancellation\n"); s = pthread_set ...
https://man.mtool.work/man/20260915/man3/pthread_cancel.3.html
Man page of GDBM 8293
GDBM Section: C Library Functions (3) Updated: 10/15/2002 Index JM Home Page 名前 GDBM - GNUデータベース・マネージャ。 dbm および ndbm 互換機能を含む。 (Version 1.8.3.) 書式 #include < gdbm.h > extern gdbm_error gdbm_errno extern char *gdbm ... _version GDBM_FILE gdbm_open (name, block_size, read_write, mode, fatal_func) char * name; int block_size, read_write, mode; void (*fatal_func) (); void gdbm_close (dbf) GDBM_FILE dbf; int gdbm_store ... ファイルをオープンする手続きは次の通りである。 GDBM_FILE dbf; dbf = gdbm_open ( name, block_size, read_write, mode, fatal_func ) name はファイルの名前である。(完全な名前、gdbm はこの名前に 文字列を付け加えるようなことはしない) block_size はディスクか ... nc モードになったためにもう使われなくなった。 mode はファイルのモードである ( chmod (2) および open (2) を 参照)。 (*fatal_func) () は dbm が致命的エラーを検出した場合に呼び出す 関数である。この関数への唯一のパラメータは文字列である。 値 0 が指定され ...
https://man.mtool.work/man/20260915/man3/gdbm.3.html
Man page of GETCONTEXT 8207
GETCONTEXT Section: Linux Programmer's Manual (3) Updated: 2020-12-21 Index JM Home Page 名前 getcontext, setcontext - ユーザーコンテキストを取得/設定する 書式 #include < ucontext.h > int getcontext(ucontext_t * ucp ); int setcontext(const ... ジスターが格納される。 getcontext () 関数は、 ポインター ucp が指す構造体を、 現在アクティブなコンテキストに初期化する。 The function setcontext () restores the user context pointed to by ucp . A successful call does not return. The context should have ... (3) の呼び出しによって得られていたものの場合は、 プログラムの実行はその makecontext (3) 呼び出しの第二引数で指定された関数 func を呼び出すかたちで継続する。 func から返ると、 makecontext (3) 呼び出しの第一引数で指定されていた ucp 構造体の uc_link メン ...
https://man.mtool.work/man/20260915/man3/getcontext.3.html
Man page of GETCONTEXT 8207
GETCONTEXT Section: Linux Programmer's Manual (3) Updated: 2020-12-21 Index JM Home Page 名前 getcontext, setcontext - ユーザーコンテキストを取得/設定する 書式 #include < ucontext.h > int getcontext(ucontext_t * ucp ); int setcontext(const ... ジスターが格納される。 getcontext () 関数は、 ポインター ucp が指す構造体を、 現在アクティブなコンテキストに初期化する。 The function setcontext () restores the user context pointed to by ucp . A successful call does not return. The context should have ... (3) の呼び出しによって得られていたものの場合は、 プログラムの実行はその makecontext (3) 呼び出しの第二引数で指定された関数 func を呼び出すかたちで継続する。 func から返ると、 makecontext (3) 呼び出しの第一引数で指定されていた ucp 構造体の uc_link メン ...
https://man.mtool.work/man/20260915/man3/setcontext.3.html
Man page of MAKECONTEXT 8104
MAKECONTEXT Section: Linux Programmer's Manual (3) Updated: 2020-12-21 Index JM Home Page 名前 makecontext, swapcontext - ユーザーコンテキストを操作する 書式 #include < ucontext.h > void makecontext(ucontext_t * ucp , void (* func )(), int ... m V-like environment, one has the type ucontext_t (defined in < ucontext.h > and described in getcontext (3)) and the four functions getcontext (3), setcontext (3), makecontext (), and swapcontext () that allow user-level context switching between mu ... k に 代入しなければならない。 このコンテキストが将来 ( setcontext (3) または swapcontext () によって) 有効にされると、関数 func が呼ばれ、 引数として argc 以降の整数 ( int ) 引数の列が渡される。 呼び出し者は argc にこれらの引数の個数を指定しなければな ... の例を示すものである。 このプログラムを実行すると、以下のような出力が得られる: $ ./a.out main: swapcontext(&uctx_main, &uctx_func2) func2: started func2: swapcontext(&uctx_func2, &uctx_func1) func1: started func1: swapcontext(&uctx_func1, &uctx_func2) ...
https://man.mtool.work/man/20260915/man3/makecontext.3.html
Man page of MAKECONTEXT 8104
MAKECONTEXT Section: Linux Programmer's Manual (3) Updated: 2020-12-21 Index JM Home Page 名前 makecontext, swapcontext - ユーザーコンテキストを操作する 書式 #include < ucontext.h > void makecontext(ucontext_t * ucp , void (* func )(), int ... m V-like environment, one has the type ucontext_t (defined in < ucontext.h > and described in getcontext (3)) and the four functions getcontext (3), setcontext (3), makecontext (), and swapcontext () that allow user-level context switching between mu ... k に 代入しなければならない。 このコンテキストが将来 ( setcontext (3) または swapcontext () によって) 有効にされると、関数 func が呼ばれ、 引数として argc 以降の整数 ( int ) 引数の列が渡される。 呼び出し者は argc にこれらの引数の個数を指定しなければな ... の例を示すものである。 このプログラムを実行すると、以下のような出力が得られる: $ ./a.out main: swapcontext(&uctx_main, &uctx_func2) func2: started func2: swapcontext(&uctx_func2, &uctx_func1) func1: started func1: swapcontext(&uctx_func1, &uctx_func2) ...
https://man.mtool.work/man/20260915/man3/swapcontext.3.html
Man page of MALLOC_INFO 8000
MALLOC_INFO Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前 malloc_info - malloc の状態をストリームに出力する 書式 #include < malloc.h > int malloc_info(int options , FILE * stream ); 説明 malloc_info () 関 ... c int numThreads, numBlocks; #define errExit(msg) do { perror(msg); exit(EXIT_FAILURE); \ } while (0) static void * thread_func(void *arg) { int tn = (int) arg; /* The multiplier '(2 + tn)' ensures that each thread (including the main thread) allocat ... ate different amounts of memory */ for (int tn = 0; tn < numThreads; tn++) { errno = pthread_create(&thr[tn], NULL, thread_func, (void *) tn); if (errno != 0) errExit("pthread_create"); /* If we add a sleep interval after the start-up of each thread, ...
https://man.mtool.work/man/20260915/man3/malloc_info.3.html
Man page of lspci 8000
lspci Section: Linux PCI Utilities (8) Updated: 04 January 2003 Index JM Home Page 名前 lspci - 全ての PCI デバイスを表示する 書式 lspci [ options ] 説明 lspci はシステムの全ての PCI バスと、そこにつながっている全てのデバイスに関する 情報を ... を全て表示する。 -t 全てのバス・ブリッジ・デバイスと、それらの間の接続を含む図を木構造で表示する。 -s [[<bus>]:][<slot>][.[<func>]] 指定されたバス (bus)・スロット (slot)・機能 (func) のデバイスのみを表示する。 デバイスの指定の各要素は省略可能で、また ...
https://man.mtool.work/man/20260915/man8/lspci.8.html
PREV 1 2 NEXT

リンク

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