diff options
Diffstat (limited to 'libcap/execable.c')
-rw-r--r-- | libcap/execable.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libcap/execable.c b/libcap/execable.c new file mode 100644 index 0000000..be18914 --- /dev/null +++ b/libcap/execable.c @@ -0,0 +1,15 @@ +#include <stdio.h> +#include "execable.h" + +SO_MAIN(int argc, char **argv) +{ + const char *cmd = "This library"; + if (argv != NULL) { + cmd = argv[0]; + } + printf("%s is the shared library version: " LIBRARY_VERSION ".\n" + "See the License file for distribution information.\n" + "More information on this library is available from:\n" + "\n" + " https://sites.google.com/site/fullycapable/\n", cmd); +} |