Created
July 31, 2022 10:26
-
-
Save bobbyg603/834356c9c28687ed89faf844966f08d0 to your computer and use it in GitHub Desktop.
How to Build a Linux Shared Library
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Allows us to reference built-in standard library input/output functions | |
#include <stdio.h> | |
// Our function implementation int (return type) main (function name) void (parameter type) | |
int main(void) | |
{ | |
// Use the standard library to print to the terminal window | |
puts("Hello Earth!"); | |
// Exit with a return code 0 indicating success | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment