JM Project

JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。

Linux マニュアル 一覧

全文・高度検索

per page, with , order by , clip by
Results of 1 - 10 of about 14 for strncpy (0.002 sec.)
Man page of STRCPY 12953
STRCPY Section: Linux Programmer's Manual (3) Updated: 2019-03-06 Index JM Home Page 名前 strcpy, strncpy - 文字列をコピーする 書式 #include < string.h > char *strcpy(char * dest , const char * src ); char *strncpy(char * dest , const char ... dest は コピーを受け取るのに十分な大きさでなければならない。 バッファーオーバーランに気を付けること! (「バグ」の節を参照) strncpy () 関数も同様だが、 src のうち最大でも n バイトしかコピーされない点が異なる。 警告 : src の最初の n バイトの中にヌルバイト ... がない場合、 dest に格納される文字列はヌルで終端されないことになる。 src の長さが n よりも短い場合、 strncpy () は dest に追加のヌルバイトを書き込み、全部で n バイトが書き込まれるようにする。 strncpy () の簡単な実装は以下のような感 ... じであろう: char * strncpy(char *dest, const char *src, size_t n) { size_t i; for (i = 0; i < n && src[i] != '\0'; i++) dest[i] = src[i]; for ( ; i < ...
https://man.mtool.work/man/20260915/man3/strcpy.3.html
Man page of STRCPY 12953
STRCPY Section: Linux Programmer's Manual (3) Updated: 2019-03-06 Index JM Home Page 名前 strcpy, strncpy - 文字列をコピーする 書式 #include < string.h > char *strcpy(char * dest , const char * src ); char *strncpy(char * dest , const char ... dest は コピーを受け取るのに十分な大きさでなければならない。 バッファーオーバーランに気を付けること! (「バグ」の節を参照) strncpy () 関数も同様だが、 src のうち最大でも n バイトしかコピーされない点が異なる。 警告 : src の最初の n バイトの中にヌルバイト ... がない場合、 dest に格納される文字列はヌルで終端されないことになる。 src の長さが n よりも短い場合、 strncpy () は dest に追加のヌルバイトを書き込み、全部で n バイトが書き込まれるようにする。 strncpy () の簡単な実装は以下のような感 ... じであろう: char * strncpy(char *dest, const char *src, size_t n) { size_t i; for (i = 0; i < n && src[i] != '\0'; i++) dest[i] = src[i]; for ( ; i < ...
https://man.mtool.work/man/20260915/man3/strncpy.3.html
Man page of WCSNCPY 8770
WCSNCPY Section: Linux Programmer's Manual (3) Updated: 2019-03-06 Index JM Home Page 名前 wcsncpy - 固定長のワイド文字文字列をコピーする 書式 #include < wchar.h > wchar_t *wcsncpy(wchar_t * dest , const wchar_t * src , size_t n ); 説明 wcs ... ncpy () 関数は、 strncpy (3) 関数に対応するワイド文字関数である。 この関数は src が指すワイド文字文字列から、 終端のヌルワイド文字 (L'\0') を 含めて ... utes (7) を参照。 インターフェース 属性 値 wcsncpy () Thread safety MT-Safe 準拠 POSIX.1-2001, POSIX.1-2008, C99. 関連項目 strncpy (3) この文書について この man ページは Linux man-pages プロジェクトのリリース 5.10 の一部である。プロジェクトの説明とバグ報 ...
https://man.mtool.work/man/20260915/man3/wcsncpy.3.html
Man page of STRING 8699
STRING Section: Linux Programmer's Manual (3) Updated: 2019-03-06 Index JM Home Page 名前 stpcpy, strcasecmp, strcat, strchr, strcmp, strcoll, strcpy, strcspn, strdup, strfry, strlen, strncat, strncmp, strncpy, strncasecmp, strpbrk, strrchr ... ターを返す。 int strncmp(const char * s1 , const char * s2 , size_t n ); 文字列 s1 と s2 を最大 n バイトまで比較する。 char *strncpy(char * dest , const char * src , size_t n ); 文字列 src から dest へ最大 n バイトをコピーし、 dest の先頭へのポインターを返 ... (3), strcoll (3), strcpy (3), strcspn (3), strdup (3), strfry (3), strlen (3), strncasecmp (3), strncat (3), strncmp (3), strncpy (3), strpbrk (3), strrchr (3), strsep (3), strspn (3), strstr (3), strtok (3), strxfrm (3) この文書について この man ページ ...
https://man.mtool.work/man/20260915/man3/string.3.html
Man page of BCOPY 8157
BCOPY Section: Linux Programmer's Manual (3) Updated: 2017-03-13 Index JM Home Page 名前 bcopy - バイト列をコピーする 書式 #include < strings.h > void bcopy(const void * src , void * dest , size_t n ); 説明 bcopy () は src から先頭 n バイト ... IX.1-2008 では、 bcopy () の仕様が削除されている。 関連項目 bstring (3), memccpy (3), memcpy (3), memmove (3), strcpy (3), strncpy (3) この文書について この man ページは Linux man-pages プロジェクトのリリース 5.10 の一部である。プロジェクトの説明とバグ報 ...
https://man.mtool.work/man/20260915/man3/bcopy.3.html
Man page of MEMMOVE 8157
MEMMOVE Section: Linux Programmer's Manual (3) Updated: 2017-03-13 Index JM Home Page 名前 memmove - メモリー領域をコピーする 書式 #include < string.h > void *memmove(void * dest , const void * src , size_t n ); 説明 memmove () は、メモリー ... POSIX.1-2001, POSIX.1-2008, C89, C99, SVr4, 4.3BSD. 関連項目 bcopy (3), bstring (3), memccpy (3), memcpy (3), strcpy (3), strncpy (3), wmemmove (3) この文書について この man ページは Linux man-pages プロジェクトのリリース 5.10 の一部である。プロジェクト ...
https://man.mtool.work/man/20260915/man3/memmove.3.html
Man page of MEMCCPY 8087
MEMCCPY Section: Linux Programmer's Manual (3) Updated: 2017-09-15 Index JM Home Page 名前 memccpy - メモリー領域をコピーする 書式 #include < string.h > void *memccpy(void * dest , const void * src , int c , size_t n ); 説明 memccpy () は、 ... -Safe 準拠 POSIX.1-2001, POSIX.1-2008, SVr4, 4.3BSD. 関連項目 bcopy (3), bstring (3), memcpy (3), memmove (3), strcpy (3), strncpy (3) この文書について この man ページは Linux man-pages プロジェクトのリリース 5.10 の一部である。プロジェクトの説明とバグ報 ...
https://man.mtool.work/man/20260915/man3/memccpy.3.html
Man page of MEMCPY 8017
MEMCPY Section: Linux Programmer's Manual (3) Updated: 2017-09-15 Index JM Home Page 名前 memcpy - メモリー領域をコピーする。 書式 #include < string.h > void *memcpy(void * dest , const void * src , size_t n ); 説明 memcpy () はメモリー領域 ... tion that was aliased to memmove (3)). 関連項目 bcopy (3), bstring (3), memccpy (3), memmove (3), mempcpy (3), strcpy (3), strncpy (3), wmemcpy (3) この文書について この man ページは Linux man-pages プロジェクトのリリース 5.10 の一部である。プロジェクト ...
https://man.mtool.work/man/20260915/man3/memcpy.3.html
Man page of STPNCPY 8017
STPNCPY Section: Linux Programmer's Manual (3) Updated: 2019-03-06 Index JM Home Page 名前 stpncpy - 固定長の文字列をコピーして、その最後へのポインターを返す 書式 #include < string.h > char *stpncpy(char * dest , const char * src , size_t n ... た。 それ以前は GNU による拡張であった。 この関数は 1993 年に GNU C ライブラリのバージョン 1.07 で初めて登場した。 関連項目 strncpy (3), wcpncpy (3) この文書について この man ページは Linux man-pages プロジェクトのリリース 5.10 の一部である。プロジェクト ...
https://man.mtool.work/man/20260915/man3/stpncpy.3.html
Man page of STRCAT 7807
STRCAT Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前 strcat, strncat - 二つの文字列を連結する 書式 #include < string.h > char *strcat(char * dest , const char * src ); char *strncat(char * dest , const c ... (intmax_t) (time(NULL) - base)); strcat(p, "a"); } } 関連項目 bcopy (3), memccpy (3), memcpy (3), strcpy (3), string (3), strncpy (3), wcscat (3), wcsncat (3) この文書について この man ページは Linux man-pages プロジェクトのリリース 5.10 の一部である。 ...
https://man.mtool.work/man/20260915/man3/strcat.3.html
PREV 1 2 NEXT

リンク

日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。