JM Project

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

Linux マニュアル 一覧

全文・高度検索

per page, with , order by , clip by
Results of 1 - 10 of about 10 for ucontext (0.003 sec.)
Man page of GETCONTEXT 11459
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 ... ucontext_t * ucp ); 説明 System V 的な環境では、 mcontext_t および ucontext_t という 2 つの型と、 getcontext (), setcontext (), makecontext (3), swapcontext (3) という 4 つの関数が < ucontext.h > で ... 間で、 ユーザーレベルのコンテキスト切替えができるようになっている。 mcontext_t 型はマシン依存で、外部からは隠蔽されている。 ucontext_t 型は構造体で、少なくとも以下の 4 つのフィールドを持つ。 typedef struct ucontext_t { struct ucontext_t *uc_link; sigset_t ... uc_sigmask; stack_t uc_stack; mcontext_t uc_mcontext; ... } ucontext_t; sigset_t と stack_t は < signal.h > で定義されている。 ここで uc_link は、 現在のコンテキストが終了したとき、 続いて切り ...
https://man.mtool.work/man/20260915/man3/getcontext.3.html
Man page of GETCONTEXT 11459
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 ... ucontext_t * ucp ); 説明 System V 的な環境では、 mcontext_t および ucontext_t という 2 つの型と、 getcontext (), setcontext (), makecontext (3), swapcontext (3) という 4 つの関数が < ucontext.h > で ... 間で、 ユーザーレベルのコンテキスト切替えができるようになっている。 mcontext_t 型はマシン依存で、外部からは隠蔽されている。 ucontext_t 型は構造体で、少なくとも以下の 4 つのフィールドを持つ。 typedef struct ucontext_t { struct ucontext_t *uc_link; sigset_t ... uc_sigmask; stack_t uc_stack; mcontext_t uc_mcontext; ... } ucontext_t; sigset_t と stack_t は < signal.h > で定義されている。 ここで uc_link は、 現在のコンテキストが終了したとき、 続いて切り ...
https://man.mtool.work/man/20260915/man3/setcontext.3.html
Man page of MAKECONTEXT 10655
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 ... argc , ...); int swapcontext(ucontext_t * oucp , const ucontext_t * ucp ); 説明 In a System V-like environment, one has the type ucontext_t (defined in < uconte ... func1: swapcontext(&uctx_func1, &uctx_func2) func2: returning func1: returning main: exiting プログラムのソース #include < ucontext.h > #include < stdio.h > #include < stdlib.h > static ucontext_t uctx_main, uctx_func1, uctx_func2; #define handle_error(m ...
https://man.mtool.work/man/20260915/man3/makecontext.3.html
Man page of MAKECONTEXT 10655
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 ... argc , ...); int swapcontext(ucontext_t * oucp , const ucontext_t * ucp ); 説明 In a System V-like environment, one has the type ucontext_t (defined in < uconte ... func1: swapcontext(&uctx_func1, &uctx_func2) func2: returning func1: returning main: exiting プログラムのソース #include < ucontext.h > #include < stdio.h > #include < stdlib.h > static ucontext_t uctx_main, uctx_func1, uctx_func2; #define handle_error(m ...
https://man.mtool.work/man/20260915/man3/swapcontext.3.html
Man page of SIGACTION 7955
SIGACTION Section: Linux Programmer's Manual (2) Updated: 2020-12-21 Index JM Home Page 名前 sigaction, rt_sigaction - シグナルの動作の確認と変更 書式 #include < signal.h > int sigaction(int signum , const struct sigaction * act , struct si ... a the act.sa_sigaction field. This handler takes three arguments, as follows: void handler(int sig, siginfo_t *info, void *ucontext) { ... } These three arguments are as follows sig The number of the signal that caused invocation of the handler. info A p ... ointer to a siginfo_t , which is a structure containing further information about the signal, as described below. ucontext This is a pointer to a ucontext_t structure, cast to void * . The structure pointed to by this field contains signal conte ... mation that was saved on the user-space stack by the kernel; for details, see sigreturn (2). Further information about the ucontext_t structure can be found in getcontext (3) and signal (7). Commonly, the handler function doesn't make any use of the thir ...
https://man.mtool.work/man/20260915/man2/rt_sigaction.2.html
Man page of SIGACTION 7955
SIGACTION Section: Linux Programmer's Manual (2) Updated: 2020-12-21 Index JM Home Page 名前 sigaction, rt_sigaction - シグナルの動作の確認と変更 書式 #include < signal.h > int sigaction(int signum , const struct sigaction * act , struct si ... a the act.sa_sigaction field. This handler takes three arguments, as follows: void handler(int sig, siginfo_t *info, void *ucontext) { ... } These three arguments are as follows sig The number of the signal that caused invocation of the handler. info A p ... ointer to a siginfo_t , which is a structure containing further information about the signal, as described below. ucontext This is a pointer to a ucontext_t structure, cast to void * . The structure pointed to by this field contains signal conte ... mation that was saved on the user-space stack by the kernel; for details, see sigreturn (2). Further information about the ucontext_t structure can be found in getcontext (3) and signal (7). Commonly, the handler function doesn't make any use of the thir ...
https://man.mtool.work/man/20260915/man2/sigaction.2.html
Man page of SIGRETURN 7687
SIGRETURN Section: Linux Programmer's Manual (2) Updated: 2017-09-15 Index JM Home Page 名前 sigreturn, rt_sigreturn - シグナルハンドラーから返り、スタックを掃除する 書式 int sigreturn(...); 説明 Linux カーネルがプロセスに対してブロックされ ... ールドに設定してカーネルに伝え、 sa_flags フィールドの SA_RESTORER フラグをセットする。 保存されたプロセスコンテキスト情報は ucontext_t 構造体に置かれる ( < sys/ucontext.h > 参照)。 この構造体は、 sigaction (2) の SA_SIGINFO フラグで設定されたシグナルハンド ...
https://man.mtool.work/man/20260915/man2/rt_sigreturn.2.html
Man page of SIGRETURN 7687
SIGRETURN Section: Linux Programmer's Manual (2) Updated: 2017-09-15 Index JM Home Page 名前 sigreturn, rt_sigreturn - シグナルハンドラーから返り、スタックを掃除する 書式 int sigreturn(...); 説明 Linux カーネルがプロセスに対してブロックされ ... ールドに設定してカーネルに伝え、 sa_flags フィールドの SA_RESTORER フラグをセットする。 保存されたプロセスコンテキスト情報は ucontext_t 構造体に置かれる ( < sys/ucontext.h > 参照)。 この構造体は、 sigaction (2) の SA_SIGINFO フラグで設定されたシグナルハンド ...
https://man.mtool.work/man/20260915/man2/sigreturn.2.html
Man page of AIO 6972
AIO Section: Linux Programmer's Manual (7) Updated: 2020-08-13 Index JM Home Page 名前 aio - POSIX 非同期 I/O の概要 説明 POSIX 非同期 (AIO) インターフェースを使うと、アプリケーションは、非同期 に (つまり、バックグラウンドで) 実行されるI/O ... o notify I/O completion */ static void /* Handler for I/O completion signal */ aioSigHandler(int sig, siginfo_t *si, void *ucontext) { if (si->si_code == SI_ASYNCIO) { write(STDOUT_FILENO, "I/O completion signal received\n", 31); /* The corresponding ioR ...
https://man.mtool.work/man/20260915/man7/aio.7.html
Man page of SIGNAL 6793
SIGNAL Section: Linux Programmer's Manual (7) Updated: 2020-12-21 Index JM Home Page 名前 signal - シグナルの概要 説明 Linux は POSIX 信頼シグナル (reliable signal; 以後 "標準シグナル"と表記) と POSIX リアルタイムシグナルの両方に対応している ... the signal handler was installed using the sigaction (2) SA_SIGINFO flag, then the above information is accessible via the ucontext_t object that is pointed to by the third argument of the signal handler.) d) Any signals specified in act->sa_mask when re ...
https://man.mtool.work/man/20260915/man7/signal.7.html
PREV 1 NEXT

リンク

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