xref: /aosp_15_r20/external/libcap/libcap/psx_exec.c (revision 2810ac1b38eead2603277920c78344c84ddf3aff)
1 #include <stdio.h>
2 #include "execable.h"
3 
SO_MAIN(int argc,char ** argv)4 SO_MAIN(int argc, char **argv)
5 {
6     const char *cmd = "This library";
7     if (argv != NULL && argv[0] != NULL) {
8 	cmd = argv[0];
9     }
10     printf("%s is the shared library version: " LIBRARY_VERSION ".\n"
11 	   "See the License file for distribution information.\n"
12 	   "More information on this library is available from:\n"
13 	   "\n"
14 	   "    https://sites.google.com/site/fullycapable/\n", cmd);
15 }
16