memrootじしょ
英和翻訳
memmove
strncat
Public Funding
memmove
['mɛmmuːv]
メムムーブ
1.
指定されたバイト数のメモリブロックを、別のメモリ位置へコピーするC言語の標準ライブラリ関数。
`memmove`関数は、指定されたバイト数(`n`バイト)のメモリ領域(`src`)の内容を、別のメモリ領域(`dest`)にコピーします。この関数は、コピー元とコピー先のメモリ領域が重なっている場合でも正しく動作するように設計されており、データの破損を防ぎます。これは、重なり合った領域を考慮しない`memcpy`関数との主要な違いです。
The
`memmove`
function
is
safer
than
`memcpy`
when
source
and
destination
memory
regions
overlap.
(`memmove`関数は、コピー元とコピー先のメモリ領域が重なる場合、`memcpy`よりも安全です。)
The `memmove` function
`memmove`という関数を指します。
is safer
より安全である、という意味です。
than `memcpy`
`memcpy`関数と比較して、という意味です。
when source and destination memory regions overlap
コピー元とコピー先のメモリ領域が重なり合う場合、という条件を示します。
You
can
use
`memmove`
to
shift
elements
within
an
array.
(配列内で要素を移動させるために`memmove`を使用できます。)
You can use
あなた(または一般的な主体)が使用できる、という意味です。
`memmove`
`memmove`関数を指します。
to shift elements
要素を移動させるために、という目的を示します。
within an array
配列の内部で、という意味です。
Before
modifying
data,
a
common
practice
is
to
back
it
up
using
`memmove`
to
a
temporary
buffer.
(データを変更する前に、一時的なバッファに`memmove`を使ってバックアップするのが一般的なやり方です。)
Before modifying data
データを変更する前に、という時機を示します。
a common practice is
一般的なやり方は~である、という意味です。
to back it up
そのデータをバックアップすること、という意味です。
using `memmove`
`memmove`関数を使用して、という意味です。
to a temporary buffer
一時的な記憶領域(バッファ)へ、という移動先を示します。
In
C
programming,
`memmove`
is
crucial
for
robust
memory
manipulation.
(C言語プログラミングにおいて、`memmove`は堅牢なメモリ操作のために不可欠です。)
In C programming
C言語を用いたプログラミングの分野で、という意味です。
`memmove`
`memmove`関数を指します。
is crucial
極めて重要である、という意味です。
for robust memory manipulation
頑健で信頼性のあるメモリ操作のために、という目的を示します。
関連
memcpy
memset
memcmp
memory
pointer
C standard library