#!/usr/bin/env scriptisto #include #include // scriptisto-begin // script_src: main.c // build_cmd: clang -O2 main.c `pkg-config --libs --cflags glib-2.0` -o ./script // scriptisto-end int main(int argc, char* argv[]) { const gchar* user = g_getenv("USER"); printf("Hello, C! Current user: %s\n", user); return 0; }