From 9d1cf09c54f25b91ac1521e43054e4a52d698daf Mon Sep 17 00:00:00 2001 From: Damien Doligez Date: Thu, 23 Nov 2000 13:45:03 +0000 Subject: bcopy -> memmove dans otherlibs git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3341 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02 --- otherlibs/unix/write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'otherlibs/unix/write.c') diff --git a/otherlibs/unix/write.c b/otherlibs/unix/write.c index e154f80b6..b887f213c 100644 --- a/otherlibs/unix/write.c +++ b/otherlibs/unix/write.c @@ -38,7 +38,7 @@ value unix_write(value fd, value buf, value vofs, value vlen) /* ML */ written = 0; while (len > 0) { numbytes = len > UNIX_BUFFER_SIZE ? UNIX_BUFFER_SIZE : len; - bcopy(&Byte(buf, ofs), iobuf, numbytes); + memmove (iobuf, &Byte(buf, ofs), numbytes); enter_blocking_section(); ret = write(Int_val(fd), iobuf, numbytes); leave_blocking_section(); -- cgit v1.2.3-70-g09d2