From 535def265191195e3199d8e0cda1b0cfa507c862 Mon Sep 17 00:00:00 2001 From: slava Date: Fri, 18 Aug 2006 03:53:51 +0000 Subject: [PATCH] memcpy didn't compile due to a typo --- library/compiler/alien/malloc.facts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/compiler/alien/malloc.facts b/library/compiler/alien/malloc.facts index 1964838237..d7346fd6e5 100644 --- a/library/compiler/alien/malloc.facts +++ b/library/compiler/alien/malloc.facts @@ -22,7 +22,7 @@ $terpri "Outputs " { $link f } " if memory allocation failed, so calls to this word should be followed by a call to " { $link check-ptr } "." } { $warning "Don't forget to deallocate the memory with a call to " { $link free } "." } ; -HELP: memcpy ( dst src size -- newalien ) +HELP: memcpy ( dst src size -- ) { $values { "dst" "an alien address" } { "src" "an alien address" } { "size" "a non-negative integer" } } { $description "Copies " { $snippet "size" } " bytes from " { $snippet "src" } " to " { $snippet "dst" } "." } { $warning "As per the BSD C library documentation, the behavior is undefined if the source and destination overlap." } ;