summaryrefslogtreecommitdiff
path: root/doc/ja
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2022-01-14 21:41:25 +0100
committerSébastien Helleu <flashcode@flashtux.org>2022-01-14 21:41:25 +0100
commitf8915129bf2656623168c9f17846ac29759c13ef (patch)
treef6fffc4ac898376ed8513cef16ba044a2089f7ae /doc/ja
parent0e57d010766f18f74b6bd8e67e21c3142da2c30a (diff)
downloadweechat-f8915129bf2656623168c9f17846ac29759c13ef.zip
core: rename argument "length" to "bytes" in function string_strndup
Diffstat (limited to 'doc/ja')
-rw-r--r--doc/ja/weechat_plugin_api.ja.adoc8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/ja/weechat_plugin_api.ja.adoc b/doc/ja/weechat_plugin_api.ja.adoc
index 90eac1c0d..ba18830a6 100644
--- a/doc/ja/weechat_plugin_api.ja.adoc
+++ b/doc/ja/weechat_plugin_api.ja.adoc
@@ -556,19 +556,21 @@ str = weechat.ngettext("file", "files", num_files)
==== strndup
-複製した文字列を最大で _length_ 文字分返す。
+// TRANSLATION MISSING
+Return duplicated string, with a max number of bytes.
プロトタイプ:
[source,c]
----
-char *weechat_strndup (const char *string, int length);
+char *weechat_strndup (const char *string, int bytes);
----
引数:
* _string_: 複製元の文字列
-* _length_: 複製する文字列の最大文字数
+// TRANSLATION MISSING
+* _bytes_: max bytes to duplicate
戻り値: