mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 23:08:31 +00:00
Make curl
example into a complete tool (#706)
You can now handily use `curl` with popen()/system() by placing `STATIC_YOINK("_curl")` in your main source file.
This commit is contained in:
parent
dd04aeba1c
commit
f6b3019796
8 changed files with 96 additions and 4 deletions
5
tool/curl/cmd.c
Normal file
5
tool/curl/cmd.c
Normal file
|
@ -0,0 +1,5 @@
|
|||
#include "tool/curl/cmd.h"
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
return _curl(argc, argv);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue