JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... istd.h > #include < stdlib.h > int main(int argc, char *argv[]) { #ifdef _POSIX_SOURCE printf("_POSIX_SOURCE defined\n"); #endif #ifdef _POSIX_C_SOURCE printf("_POSIX_C_SOURCE defined: %jdL\n", (intmax_t) _POSIX_C_SOURCE); #endif #ifdef _ISOC99_SOURCE ... printf("_ISOC99_SOURCE defined\n"); #endif #ifdef _ISOC11_SOURCE printf("_ISOC11_SOURCE defined\n"); #endif #ifdef _XOPEN_SOURCE printf("_XOPEN_SOURCE defined: %d\n" ... , _XOPEN_SOURCE); #endif #ifdef _XOPEN_SOURCE_EXTENDED printf("_XOPEN_SOURCE_EXTENDED defined\n"); #endif #ifdef _LARGEFILE64_SOURCE printf("_LARGE ... ... ule_list alias alias_name result [add] below module module_list define VARIABLE WORD depfile=A_PATH else elseif EXPRESSION endif if EXPRESSION include PATH_TO_CONFIG_FILE insmod_opt=GENERIC_OPTIONS_TO_INSMOD install module command ... keep [add] optio ... はデフォルトの値を用いるべきである。以下を参照のこと。 if EXPRESSION 式 EXPRESSION が TRUE と解釈されたら、 else , elseif , endif のいずれかにマッチするまでの全ての指定行が実行される。 FALSE と解釈されたら、それらの指定行は無視される。 if 行は、内部の最 ... e これより前での if または elseif 指定行での式の評価が FALSE であり、 else があれば、ここまでの指定行は無視され、 これ以降 endif までの指定行が処理される。 elseif EXPRESSION これより前に置かれた if または elseif での式評価の結果が FALSE で、ここでの式 ... ... -cli n , --case-indentation n case ラベルを N 個の空白でインデントする。 「 文 」セクションを参照すること。 -cp n , --else-endif-column n #else 文と #endif 文の右のカラム n にコメントを置く。 「 コメント 」セクションを参照すること。 -cs , --space-afte ... のコメントのカラムを指定する。 `-cd' は宣言の後のコメントのカラムを指定する。 `-cp' はプリプロセッサディレクティブ #else と #endif の後のコメントのカラムを指定する。 コメントの左側にあるコードが最初のカラムから開始されていない場合、 コードの終りの次のタ ... ロセッサ条件文を指定された空白数でインデントできる。 例えばオプション `-ppi 3' は #if X #if Y #define Z 1 #else #define Z 0 #endif #endif を次のように整形する。 #if X # if Y # define Z 1 # else # define Z 0 # endif #endif 長い行の折り返し オプション `-l ... ... ut_tv; /* Time entry was made */ #else long ut_session; /* Session ID */ struct timeval ut_tv; /* Time entry was made */ #endif int32_t ut_addr_v6[4]; /* Internet address of remote host; IPv4 address uses just ut_addr_v6[0] */ char __unused[20]; /* R ... ure use */ }; /* Backward compatibility hacks */ #define ut_name ut_user #ifndef _NO_UT_TIME #define ut_time ut_tv.tv_sec #endif #define ut_xtime ut_tv.tv_sec #define ut_addr ut_addr_v6[0] この構造体からユーザーの使っている端末のスペシャルファイル名、 ... ... ut_tv; /* Time entry was made */ #else long ut_session; /* Session ID */ struct timeval ut_tv; /* Time entry was made */ #endif int32_t ut_addr_v6[4]; /* Internet address of remote host; IPv4 address uses just ut_addr_v6[0] */ char __unused[20]; /* R ... ure use */ }; /* Backward compatibility hacks */ #define ut_name ut_user #ifndef _NO_UT_TIME #define ut_time ut_tv.tv_sec #endif #define ut_xtime ut_tv.tv_sec #define ut_addr ut_addr_v6[0] この構造体からユーザーの使っている端末のスペシャルファイル名、 ... ... ut_tv; /* Time entry was made */ #else long ut_session; /* Session ID */ struct timeval ut_tv; /* Time entry was made */ #endif int32_t ut_addr_v6[4]; /* Internet address of remote host; IPv4 address uses just ut_addr_v6[0] */ char __unused[20]; /* R ... ure use */ }; /* Backward compatibility hacks */ #define ut_name ut_user #ifndef _NO_UT_TIME #define ut_time ut_tv.tv_sec #endif #define ut_xtime ut_tv.tv_sec #define ut_addr ut_addr_v6[0] この構造体からユーザーの使っている端末のスペシャルファイル名、 ... ... displayClock(CLOCK_REALTIME, "CLOCK_REALTIME", showRes); #ifdef CLOCK_TAI displayClock(CLOCK_TAI, "CLOCK_TAI", showRes); #endif displayClock(CLOCK_MONOTONIC, "CLOCK_MONOTONIC", showRes); #ifdef CLOCK_BOOTTIME displayClock(CLOCK_BOOTTIME, "CLOCK_BOOTT ... IME", showRes); #endif exit(EXIT_SUCCESS); } 関連項目 date (1), gettimeofday (2), settimeofday (2), time (2), adjtime (3), clock_getcpuclockid (3 ... ... displayClock(CLOCK_REALTIME, "CLOCK_REALTIME", showRes); #ifdef CLOCK_TAI displayClock(CLOCK_TAI, "CLOCK_TAI", showRes); #endif displayClock(CLOCK_MONOTONIC, "CLOCK_MONOTONIC", showRes); #ifdef CLOCK_BOOTTIME displayClock(CLOCK_BOOTTIME, "CLOCK_BOOTT ... IME", showRes); #endif exit(EXIT_SUCCESS); } 関連項目 date (1), gettimeofday (2), settimeofday (2), time (2), adjtime (3), clock_getcpuclockid (3 ... ... displayClock(CLOCK_REALTIME, "CLOCK_REALTIME", showRes); #ifdef CLOCK_TAI displayClock(CLOCK_TAI, "CLOCK_TAI", showRes); #endif displayClock(CLOCK_MONOTONIC, "CLOCK_MONOTONIC", showRes); #ifdef CLOCK_BOOTTIME displayClock(CLOCK_BOOTTIME, "CLOCK_BOOTT ... IME", showRes); #endif exit(EXIT_SUCCESS); } 関連項目 date (1), gettimeofday (2), settimeofday (2), time (2), adjtime (3), clock_getcpuclockid (3 ... ... のバージョン */ char machine[]; /* ハードウェア識別子 */ #ifdef _GNU_SOURCE char domainname[]; /* NIS や YP のドメイン名 */ #endif }; struct utsname にある配列の長さは指定されていない (「注意」の節を参照)。 フィールドはヌルバイト ('\0') で終端される。 返 ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。