source: CIVL/text/include/string.cvl@ 09d949f

1.23 2.0 main test-branch
Last change on this file since 09d949f was 06d6af3, checked in by Manchun Zheng <zmanchun@…>, 12 years ago

cleaned up civl header files: get rid of unnecessary .cvh files.

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

  • Property mode set to 100644
File size: 329 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, void *q, const size_t size) {
12 $atom {
13 $bundle bundle = $bundle_pack(q, size);
14 $bundle_unpack(bundle, p);
15 }
16 return p;
17}
18
19#endif
Note: See TracBrowser for help on using the repository browser.