infix
A JIT-Powered FFI Library for C
Loading...
Searching...
No Matches
Ch01_Pointers.c File Reference

Cookbook Chapter 1: Passing and Receiving Pointers. More...

#include <infix/infix.h>
#include <stdio.h>
#include <string.h>
Include dependency graph for Ch01_Pointers.c:

Functions

int main ()
 

Detailed Description

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.

Function Documentation

◆ main()

int main ( void  )