JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... toll () 関数は atoi () と同様の振る舞いをするが、 文字列のはじめの部分をそれぞれ long や long long に変換する。 返り値 The converted value or 0 on error. 属性 この節で使用されている用語の説明については、 attributes (7) を参照。 インターフェース 属性 値 at ... 0 is returned on error. バグ errno is not set on error so there is no way to distinguish between 0 as an error and as the converted value. No checks for overflow or underflow are done. Only base-10 input can be converted. It is recommended to instead use ... ... toll () 関数は atoi () と同様の振る舞いをするが、 文字列のはじめの部分をそれぞれ long や long long に変換する。 返り値 The converted value or 0 on error. 属性 この節で使用されている用語の説明については、 attributes (7) を参照。 インターフェース 属性 値 at ... 0 is returned on error. バグ errno is not set on error so there is no way to distinguish between 0 as an error and as the converted value. No checks for overflow or underflow are done. Only base-10 input can be converted. It is recommended to instead use ... ... toll () 関数は atoi () と同様の振る舞いをするが、 文字列のはじめの部分をそれぞれ long や long long に変換する。 返り値 The converted value or 0 on error. 属性 この節で使用されている用語の説明については、 attributes (7) を参照。 インターフェース 属性 値 at ... 0 is returned on error. バグ errno is not set on error so there is no way to distinguish between 0 as an error and as the converted value. No checks for overflow or underflow are done. Only base-10 input can be converted. It is recommended to instead use ... ... toll () 関数は atoi () と同様の振る舞いをするが、 文字列のはじめの部分をそれぞれ long や long long に変換する。 返り値 The converted value or 0 on error. 属性 この節で使用されている用語の説明については、 attributes (7) を参照。 インターフェース 属性 値 at ... 0 is returned on error. バグ errno is not set on error so there is no way to distinguish between 0 as an error and as the converted value. No checks for overflow or underflow are done. Only base-10 input can be converted. It is recommended to instead use ... ... t main(int argc, char *argv[]) { size_t mbslen; /* Number of multibyte characters in source */ wchar_t *wcs; /* Pointer to converted wide character string */ if (argc < 3) { fprintf(stderr, "Usage: %s <locale> <string>\n", argv[0]); exit(EXIT_FAILURE); } ... le(LC_ALL, argv[1]) == NULL) { perror("setlocale"); exit(EXIT_FAILURE); } /* Calculate the length required to hold argv[2] converted to a wide character string */ mbslen = mbstowcs(NULL, argv[2], 0); if (mbslen == (size_t) -1) { perror("mbstowcs"); exit(E ... ... _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. 関連項目 bcmp (3), memcmp (3), ... ... _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. 関連項目 bcmp (3), memcmp (3), ... ... ず出力される。変換後の値が 指定された桁数に足りない場合は、左側が 0 で埋められる。 e , E The double argument is rounded and converted in the style [-]d . ddd e ±dd where there is one digit (which is nonzero if the argument is nonzero) before the decimal-po ... 少なくとも一つある場合にだけである。 a , A (C99; not in SUSv2, but added in SUSv3) For a conversion, the double argument is converted to hexadecimal notation (using the letters abcdef) in the style [-] 0x h . hhhh p ±d; for A conversion the prefix 0X , the ... gument shall be an int * , or variant whose size matches the (optionally) supplied integer length modifier. No argument is converted. (This specifier is not supported by the bionic C library.) The behavior is undefined if the conversion specification incl ... ... ず出力される。変換後の値が 指定された桁数に足りない場合は、左側が 0 で埋められる。 e , E The double argument is rounded and converted in the style [-]d . ddd e ±dd where there is one digit (which is nonzero if the argument is nonzero) before the decimal-po ... 少なくとも一つある場合にだけである。 a , A (C99; not in SUSv2, but added in SUSv3) For a conversion, the double argument is converted to hexadecimal notation (using the letters abcdef) in the style [-] 0x h . hhhh p ±d; for A conversion the prefix 0X , the ... gument shall be an int * , or variant whose size matches the (optionally) supplied integer length modifier. No argument is converted. (This specifier is not supported by the bionic C library.) The behavior is undefined if the conversion specification incl ... ... ず出力される。変換後の値が 指定された桁数に足りない場合は、左側が 0 で埋められる。 e , E The double argument is rounded and converted in the style [-]d . ddd e ±dd where there is one digit (which is nonzero if the argument is nonzero) before the decimal-po ... 少なくとも一つある場合にだけである。 a , A (C99; not in SUSv2, but added in SUSv3) For a conversion, the double argument is converted to hexadecimal notation (using the letters abcdef) in the style [-] 0x h . hhhh p ±d; for A conversion the prefix 0X , the ... gument shall be an int * , or variant whose size matches the (optionally) supplied integer length modifier. No argument is converted. (This specifier is not supported by the bionic C library.) The behavior is undefined if the conversion specification incl ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。