JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... -whitespace ] [ -s ] [ --output-separator sep_string ] [ --help ] [ --version ] file ... 説明 与えられた file ごとに、 GNU strings は少なくとも 4文字 (または以下のオプションで指定された数) の印刷可能な文字シーケンスを印刷し、その後に印刷不可能な文字が続 ... 換性のため、 - オプションの有無に関わらず、 -d のコマンドラインオプションの後に指定されたファイルもすべてスキャンされます。 strings は、主にテキスト以外のファイルの内容を決定する場合に便利です。 オプション -a --all - どのセクションが含まれているか、または ... よって異なります。シーケンスは常に改行や復帰などの制御文字で終了しますが、タブ文字では終了しません。 -o -t o と似ています。 strings の他のバージョンでは、代わりに -o が -td のように動作します。両方の方法に対応することはできないので、単純に 2つのどちらかと ... ... (const char * s1 , const char * s2 , size_t n ); 説明 The strcasecmp () function performs a byte-by-byte comparison of the strings s1 and s2 , ignoring the case of the characters. It returns an integer less than, equal to, or greater than zero if s1 is ... ions: When the LC_CTYPE category of the locale being used is from the POSIX locale, these functions shall behave as if the strings had been converted to lowercase and then a byte comparison performed. Otherwise, the results are unspecified. 関連項目 bcm ... ... (const char * s1 , const char * s2 , size_t n ); 説明 The strcasecmp () function performs a byte-by-byte comparison of the strings s1 and s2 , ignoring the case of the characters. It returns an integer less than, equal to, or greater than zero if s1 is ... ions: When the LC_CTYPE category of the locale being used is from the POSIX locale, these functions shall behave as if the strings had been converted to lowercase and then a byte comparison performed. Otherwise, the results are unspecified. 関連項目 bcm ... ... stdlib.h > #include < unistd.h > #define BT_BUF_SIZE 100 void myfunc3(void) { int nptrs; void *buffer[BT_BUF_SIZE]; char **strings; nptrs = backtrace(buffer, BT_BUF_SIZE); printf("backtrace() returned %d addresses\n", nptrs); /* backtrace_symbols_fd(buf ... fer, nptrs, STDOUT_FILENO) を 呼び出しても、以下と同様の出力が得られる。 */ strings = backtrace_symbols(buffer, nptrs); if (strings == NULL) { perror("backtrace_symbols"); exit(EXIT_FAILURE); } for (int j = ... 0; j < nptrs; j++) printf("%s\n", strings[j]); free(strings); } static void /* "static" はシンボルを公開しないことを意味する */ myfunc2(void) { myfunc3(); } void my ... ... stdlib.h > #include < unistd.h > #define BT_BUF_SIZE 100 void myfunc3(void) { int nptrs; void *buffer[BT_BUF_SIZE]; char **strings; nptrs = backtrace(buffer, BT_BUF_SIZE); printf("backtrace() returned %d addresses\n", nptrs); /* backtrace_symbols_fd(buf ... fer, nptrs, STDOUT_FILENO) を 呼び出しても、以下と同様の出力が得られる。 */ strings = backtrace_symbols(buffer, nptrs); if (strings == NULL) { perror("backtrace_symbols"); exit(EXIT_FAILURE); } for (int j = ... 0; j < nptrs; j++) printf("%s\n", strings[j]); free(strings); } static void /* "static" はシンボルを公開しないことを意味する */ myfunc2(void) { myfunc3(); } void my ... ... stdlib.h > #include < unistd.h > #define BT_BUF_SIZE 100 void myfunc3(void) { int nptrs; void *buffer[BT_BUF_SIZE]; char **strings; nptrs = backtrace(buffer, BT_BUF_SIZE); printf("backtrace() returned %d addresses\n", nptrs); /* backtrace_symbols_fd(buf ... fer, nptrs, STDOUT_FILENO) を 呼び出しても、以下と同様の出力が得られる。 */ strings = backtrace_symbols(buffer, nptrs); if (strings == NULL) { perror("backtrace_symbols"); exit(EXIT_FAILURE); } for (int j = ... 0; j < nptrs; j++) printf("%s\n", strings[j]); free(strings); } static void /* "static" はシンボルを公開しないことを意味する */ myfunc2(void) { myfunc3(); } void my ... ... preter [optional-arg] 後者の詳細は、後ろの「インタープリタースクリプト」の節を参照のこと。 argv is an array of pointers to strings passed to the new program as its command-line arguments. By convention, the first of these strings (i.e., argv[0] ) should ... must be terminated by a NULL pointer. (Thus, in the new program, argv[argc] will be NULL.) envp is an array of pointers to strings, conventionally of the form key=value , which are passed as the environment of the new program. The envp array must be ter ... d 2.6.24.) Additionally, the limit per string is 32 pages (the kernel constant MAX_ARG_STRLEN ), and the maximum number of strings is 0x7FFFFFFF. 返り値 成功すると execve () は返らない。エラーの場合は -1 を返し、 errno を適切に設定する。 エラー E2BIG 環 ... ... ... ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。