how to create a library in c
The below is sample project where string functions are kept in a library.
Read Me: Coded By: Name:Vaneeswaran N www.vaneeswaran.com Description : Sample project to demonstrate how to write a C library , build as a shared library and use it Files : main.c - Invokes the functions from the shared library vanees.h - Defines the functions used in the shared library vanees_string.c - Has the implementation of the functions that are used in the shared library gen_lib.sh - This script will compile all files and create a shared library
GitHub Link to download :
https://github.com/vaneeswaran/my_c_codes/tree/master/How_to_create_a_C_library
Comments
Post a Comment