JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... If dest is not NULL, the mbstowcs () function converts the multibyte string src to a wide-character string starting at dest . At most n wide characters are written to dest . The sequence of characters in the string src shal ... 例は以下のようになる。 $ ./t_mbstowcs de_DE.UTF-8 Grüße! Length of source string (excluding terminator): 8 bytes 6 multibyte characters Wide character string is: Grüße! (6 characters) G alpha upper r alpha lower ü alpha lower ß alpha lower e alpha lower ! !a ... o.h > #include < string.h > #include < stdlib.h > int 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 <lo ... ... mpatible drop-in replacement. Features in glibc この関数の glibc 版は追加の暗号化アルゴリズムに対応している。 If salt is a character string starting with the characters "$ id $" followed by a string optionally terminated by "$", then the result has the for ... ontain the password encrypted with, respectively, functions based on SHA-256 and SHA-512. " salt " stands for the up to 16 characters following "$ id $" in the salt. The " encrypted " part of the password string is the actual computed password. The size of ... this string is fixed: MD5 | 22 characters SHA-256 | 43 characters SHA-512 | 86 characters " salt " と " encrypted " の文字は [ a-zA-Z0-9./ ] の集合から 選ばれる。 M ... ... mpatible drop-in replacement. Features in glibc この関数の glibc 版は追加の暗号化アルゴリズムに対応している。 If salt is a character string starting with the characters "$ id $" followed by a string optionally terminated by "$", then the result has the for ... ontain the password encrypted with, respectively, functions based on SHA-256 and SHA-512. " salt " stands for the up to 16 characters following "$ id $" in the salt. The " encrypted " part of the password string is the actual computed password. The size of ... this string is fixed: MD5 | 22 characters SHA-256 | 43 characters SHA-512 | 86 characters " salt " と " encrypted " の文字は [ a-zA-Z0-9./ ] の集合から 選ばれる。 M ... ... シン "monet" は、 "monet.example.com" と表現される。 Each element of the hostname must be from 1 to 63 characters long and the entire hostname, including the dots, can be at most 253 characters long. Valid characters for hostnames are A ... ... excluding the terminating null byte ('\0'), but at most maxlen . In doing this, strnlen () looks only at the first maxlen characters in the string pointed to by s and never beyond s[maxlen-1] . 返り値 The strnlen () function returns strlen(s) , if that is ... less than maxlen , or maxlen if there is no null terminating ('\0') among the first maxlen characters pointed to by s . 属性 この節で使用されている用語の説明については、 attributes (7) を参照。 インターフェース 属性 値 strnl ... ... た位置の各バイトだけを表示する。 タブやバックスペースもほかの普通の文字と同じように1バイトとして扱う。 -c CHARACTER-LIST , --characters= CHARACTER-LIST CHARACTER-LIST にリストされた位置の各文字だけを表示する。 これはいまのところ -b と同じだが、 国際化すると異 ... ... を示す終端のヌルバイト ('\0') も格納されるが、最大フィールド幅にはこの終端バイトは含まれない。 • 「型修飾子」 (type modifier characters) (省略可能)。 例えば、型修飾子 l を %d などの整数変換と一緒に使うと、対応する pointer 引数が int ではなく long を参照してい ... e f と同一である。 g f と同一である。 E f と同一である。 a (C99) f と同一である。 s Matches a sequence of non-white-space characters; the next pointer must be a pointer to the initial element of a character array that is long enough to hold the input sequ ... する。 次のポインターは void へのポインターへのポインターでなければならない。 n Nothing is expected; instead, the number of characters consumed thus far from the input is stored through the next pointer, which must be a pointer to int . This is not a conver ... ... を示す終端のヌルバイト ('\0') も格納されるが、最大フィールド幅にはこの終端バイトは含まれない。 • 「型修飾子」 (type modifier characters) (省略可能)。 例えば、型修飾子 l を %d などの整数変換と一緒に使うと、対応する pointer 引数が int ではなく long を参照してい ... e f と同一である。 g f と同一である。 E f と同一である。 a (C99) f と同一である。 s Matches a sequence of non-white-space characters; the next pointer must be a pointer to the initial element of a character array that is long enough to hold the input sequ ... する。 次のポインターは void へのポインターへのポインターでなければならない。 n Nothing is expected; instead, the number of characters consumed thus far from the input is stored through the next pointer, which must be a pointer to int . This is not a conver ... ... を示す終端のヌルバイト ('\0') も格納されるが、最大フィールド幅にはこの終端バイトは含まれない。 • 「型修飾子」 (type modifier characters) (省略可能)。 例えば、型修飾子 l を %d などの整数変換と一緒に使うと、対応する pointer 引数が int ではなく long を参照してい ... e f と同一である。 g f と同一である。 E f と同一である。 a (C99) f と同一である。 s Matches a sequence of non-white-space characters; the next pointer must be a pointer to the initial element of a character array that is long enough to hold the input sequ ... する。 次のポインターは void へのポインターへのポインターでなければならない。 n Nothing is expected; instead, the number of characters consumed thus far from the input is stored through the next pointer, which must be a pointer to int . This is not a conver ... ... を示す終端のヌルバイト ('\0') も格納されるが、最大フィールド幅にはこの終端バイトは含まれない。 • 「型修飾子」 (type modifier characters) (省略可能)。 例えば、型修飾子 l を %d などの整数変換と一緒に使うと、対応する pointer 引数が int ではなく long を参照してい ... e f と同一である。 g f と同一である。 E f と同一である。 a (C99) f と同一である。 s Matches a sequence of non-white-space characters; the next pointer must be a pointer to the initial element of a character array that is long enough to hold the input sequ ... する。 次のポインターは void へのポインターへのポインターでなければならない。 n Nothing is expected; instead, the number of characters consumed thus far from the input is stored through the next pointer, which must be a pointer to int . This is not a conver ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。