JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... sion= version ] --output-mach= machine --output-type= type --output-osabi= osabi --output-abiversion= version --enable-x86-feature= feature --disable-x86-feature= feature [ -v | --version ] [ -h | --help ] elffile ... 説明 elfedit は、ELF マシンとファイ ... 長い形式と短い形式は同等です。少なくとも --output-mach , --output-type , --output-osabi , --output-abiversion , --enable-x86-feature と --disable-x86-feature オプションの 1つは指定しなければなりません。 --input-mach= machine 一致する入力 ELF マシン・タイプ ... ersion ELF ヘッダーの ELF ABIVERSION を version に変更します。 version は 0から 255の間でなければなりません。 --enable-x86-feature= feature マシンタイプが i386 または x86-64 の exec または dyn ELF ファイルのプログラムプロパティで feature ビットを設定しま ... ... い非標準の定義を公開することができる。 以下で説明する機能検査マクロのそれぞれの正確な影響を確認するには、 ヘッダーファイル < features.h > を調べればよい。 注意 : アプリケーションが < features.h > を直接インクルードする必要は「ない」。実際のところ、インクル ... ニュアルページからの引用である)。 #include < unistd.h > int acct(const char * filename ); glibc 向けの機能検査マクロの要件 ( feature_test_macros (7) 参照): acct (): _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE < 500) || は、 acct (2) の定義を < unistd.h ... e effects as defining _POSIX_C_SOURCE with a value of 200112L or greater. Where one sees _POSIX_C_SOURCE >= 200112L in the feature test macro requirements in the SYNOPSIS of a man page, it is implicit that the following has the same effect: _XOPEN_SOURC ... ... _SOURCE /* feature_test_macros (7) 参照 */ #include < sys/mman.h > int pkey_mprotect(void * addr , size_t len , int prot , int pkey ); 説明 m ... ot currently used in on any architecture. PROT_SAO (Linux 2.6.26 以降) The memory should have strong access ordering. This feature is specific to the PowerPC architecture (version 2.06 of the architecture specification adds the SAO CPU feature, and it i ... EINVAL 無効なフラグが prot に指定された。 EINVAL (PowerPC architecture) PROT_SAO was specified in prot , but SAO hardware feature is not available. ENOMEM カーネル内部の構造体を割り当てることができなかった。 ENOMEM [ addr , addr + len -1] という範囲のア ... ... _SOURCE /* feature_test_macros (7) 参照 */ #include < sys/mman.h > int pkey_mprotect(void * addr , size_t len , int prot , int pkey ); 説明 m ... ot currently used in on any architecture. PROT_SAO (Linux 2.6.26 以降) The memory should have strong access ordering. This feature is specific to the PowerPC architecture (version 2.06 of the architecture specification adds the SAO CPU feature, and it i ... EINVAL 無効なフラグが prot に指定された。 EINVAL (PowerPC architecture) PROT_SAO was specified in prot , but SAO hardware feature is not available. ENOMEM カーネル内部の構造体を割り当てることができなかった。 ENOMEM [ addr , addr + len -1] という範囲のア ... ... std.h > void encrypt(char block [64], int edflag ); #define _XOPEN_SOURCE /* feature_test_macros (7) 参照 */ #include < stdlib.h > void setkey(const char * key ); #define _GNU_SOURCE /* feature_test_macros ( ... -2008, SUS, SVr4. 関数 encrypt_r () と setkey_r () は GNU による拡張である。 注意 Availability in glibc crypt (3) を参照。 Features in glibc glibc 2.2 では、これらの関数は DES アルゴリズムを使う。 例 #define _XOPEN_SOURCE #include < stdio.h > #include < ... ... std.h > void encrypt(char block [64], int edflag ); #define _XOPEN_SOURCE /* feature_test_macros (7) 参照 */ #include < stdlib.h > void setkey(const char * key ); #define _GNU_SOURCE /* feature_test_macros ( ... -2008, SUS, SVr4. 関数 encrypt_r () と setkey_r () は GNU による拡張である。 注意 Availability in glibc crypt (3) を参照。 Features in glibc glibc 2.2 では、これらの関数は DES アルゴリズムを使う。 例 #define _XOPEN_SOURCE #include < stdio.h > #include < ... ... est , const void * src , size_t n ); #define _GNU_SOURCE /* feature_test_macros (7) 参照 */ #include < wchar.h > wchar_t *wmempcpy(wchar_t * dest , const wchar_t * src , size_t n ); 説明 mem ... ... std.h > void encrypt(char block [64], int edflag ); #define _XOPEN_SOURCE /* feature_test_macros (7) 参照 */ #include < stdlib.h > void setkey(const char * key ); #define _GNU_SOURCE /* feature_test_macros ( ... -2008, SUS, SVr4. 関数 encrypt_r () と setkey_r () は GNU による拡張である。 注意 Availability in glibc crypt (3) を参照。 Features in glibc glibc 2.2 では、これらの関数は DES アルゴリズムを使う。 例 #define _XOPEN_SOURCE #include < stdio.h > #include < ... ... std.h > void encrypt(char block [64], int edflag ); #define _XOPEN_SOURCE /* feature_test_macros (7) 参照 */ #include < stdlib.h > void setkey(const char * key ); #define _GNU_SOURCE /* feature_test_macros ( ... -2008, SUS, SVr4. 関数 encrypt_r () と setkey_r () は GNU による拡張である。 注意 Availability in glibc crypt (3) を参照。 Features in glibc glibc 2.2 では、これらの関数は DES アルゴリズムを使う。 例 #define _XOPEN_SOURCE #include < stdio.h > #include < ... ... est , const void * src , size_t n ); #define _GNU_SOURCE /* feature_test_macros (7) 参照 */ #include < wchar.h > wchar_t *wmempcpy(wchar_t * dest , const wchar_t * src , size_t n ); 説明 mem ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。