ctypes.sh | A foreign function interface for bash
kandi X-RAY | ctypes.sh Summary
kandi X-RAY | ctypes.sh Summary
You can read more about ctypes.sh and see it in action on the Wiki.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ctypes.sh
ctypes.sh Key Features
ctypes.sh Examples and Code Snippets
Community Discussions
Trending Discussions on ctypes.sh
QUESTION
I want to create a simple library and after compilation and ar command I can get resulting .a file.
Now I want to add this file as a static library and use it in terminal, I dont know if its possible. but idea is from other library named Ctypes.sh on github. that library can be used to make syscalls from terminal or bash terminal.
I like to know how I can add my mylib.a as static libary and make it usable from terminal.
the library is simple I just want to invoke a few syscalls in linux from terminal.
I also looked into the code of ctypes.sh so my library is also be used to make some syscalls.
the reference I used above is here https://github.com/taviso/ctypes.sh/wiki
...ANSWER
Answered 2020-Dec-08 at 10:39Every command that you run on linux are binary file that you execute. When you run a command like:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ctypes.sh
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page