source: CIVL/text/include/string.cvl@ 4de7516

1.23 2.0 acw/focus-triggers main test-branch
Last change on this file since 4de7516 was 4e153fc, checked in by Ziqing Luo <ziqing@…>, 12 years ago

remove $atom for the implementation of memcpy

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@1736 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 317 bytes
Line 
1/* CIVL implementation of string.h */
2
3#ifdef __STRING_CIVL__
4#else
5#define __STRING_CIVL__
6
7#include<string.h>
8#include<bundle.cvh>
9
10/* Copies a region of memory */
11void* memcpy(void *p, const void *q, const size_t size) {
12 $bundle bundle = $bundle_pack(q, size);
13 $bundle_unpack(bundle, p);
14 return p;
15}
16
17#endif
Note: See TracBrowser for help on using the repository browser.