Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemathinc
GitHub Repository: sagemathinc/python-wasm
Path: blob/main/core/dylink/test/libc-archive/hello.c
1393 views
1
#include "app.h"
2
#include <stdio.h>
3
#include <math.h>
4
5
6
EXPORTED_SYMBOL
7
void hello(void) {
8
// use a function from libc
9
printf("hello using libc: %f\n", sin(1));
10
}
11
12