source:
CIVL/mods/dev.civl.abc/examples/funcPointer.c
| Last change on this file was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 128 bytes | |
| Line | |
|---|---|
| 1 | void* thread(){ |
| 2 | return (void*)0; |
| 3 | } |
| 4 | |
| 5 | void spawn(void* func(void*)){ |
| 6 | |
| 7 | } |
| 8 | |
| 9 | int main(int argc, char *argv[]){ |
| 10 | spawn(thread); |
| 11 | } |
Note:
See TracBrowser
for help on using the repository browser.
