|
infix
A JIT-Powered FFI Library for C
|
Cookbook Chapter 1: Passing and Receiving Pointers. More...
Functions | |
| int | main () |
Cookbook Chapter 1: Passing and Receiving Pointers.
This example demonstrates how to call a C function that takes a pointer as an argument and also returns a pointer. It uses the standard library function strchr. The signature *char represents a pointer to a character.
| int main | ( | void | ) |