Diffstat (limited to 'mcon/U/d_memmove.U')
1 files changed, 18 insertions, 7 deletions
diff --git a/mcon/U/d_memmove.U b/mcon/U/d_memmove.U
index c5a9eaa..dc68899 100644
@@ -1,23 +1,23 @@
-?RCS: $Id: d_memmove.U 1 2006-08-24 12:32:52Z rmanfredi $
+?RCS: $Id: d_memmove.U 167 2013-05-08 17:58:00Z rmanfredi $
?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
-?RCS: You may redistribute only under the terms of the Artistic Licence,
+?RCS: You may redistribute only under the terms of the Artistic License,
?RCS: as specified in the README file that comes with the distribution.
?RCS: You may reuse parts of this distribution only within the terms of
-?RCS: that same Artistic Licence; a copy of which may be found at the root
+?RCS: that same Artistic License; a copy of which may be found at the root
?RCS: of the source tree for dist 4.0.
?RCS: $Log: d_memmove.U,v $
?RCS: Revision 3.0 1993/08/18 12:06:35 ram
?RCS: Baseline for dist 3.0 netwide release.
+?MAKE:d_memmove: Trylink cat
?MAKE: -pick add $@ %<
?S: This variable conditionally defines the HAS_MEMMOVE symbol, which
?S: indicates to the C program that the memmove() routine is available
-?S: to copy potentatially overlapping blocks of memory.
+?S: to copy potentially overlapping blocks of memory.
?C: This symbol, if defined, indicates that the memmove routine is available
@@ -29,6 +29,17 @@
: see if memmove exists
-set memmove d_memmove
+$cat >try.c <<EOC
+ static char dst, src;
+ void *p;
+ p = memmove(&dst, &src, sizeof(dst));
+ return p ? 0 : 1;