summaryrefslogtreecommitdiff
path: root/Examples/fortran/string/example.c
blob: 85d00b612909e7673f8d6888c474570f376771f1 (plain)
1
2
3
4
5
6
7
8
9
/* File : example.c */
#include <stdio.h>

void sayhi(char *str, char *ret) {
    if (ret != NULL) {
        sprintf(ret, "hello %s", str);
    }
    return;
}