source:
CIVL/text/include/string.h@
325d439
| Last change on this file since 325d439 was 0822b02, checked in by , 12 years ago | |
|---|---|
|
|
| File size: 273 bytes | |
| Rev | Line | |
|---|---|---|
| [e484c35] | 1 | /* CIVL model of string.h */ |
| 2 | ||
| 3 | #ifdef __CIVLC__ | |
| 4 | #else | |
| 5 | #include<civlc.h> | |
| 6 | #endif | |
| [0822b02] | 7 | #include<string-common.h> |
| [e484c35] | 8 | |
| 9 | /* Copies a region of memory */ | |
| 10 | void memcpy(void *p, void *q, size_t size) { | |
| 11 | $atom { | |
| 12 | $bundle bundle = $bundle_pack(q, size); | |
| 13 | $bundle_unpack(bundle, p); | |
| 14 | } | |
| 15 | } |
Note:
See TracBrowser
for help on using the repository browser.
