compiling:
gcc -fPIC -rdynamic -c -I/usr/include/postgresql fopenwrap.c
gcc -shared -o libfopenwrap.so fopenwrap.o -lc -ldl -lpq
gcc fopen.c -o fopentest
LD_LIBRARY_PATH=. LD_PRELOAD=libfopenwrap.so ./fopentest fopen.c
This repository was archived by the owner on Nov 28, 2025. It is now read-only.
guncs/gendb
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|