Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
#include
#include
#define SIZE_OF_BUFF 100 //int main(void){ int main(int argc, char *argv[]){ CURL *curl; CURLcode res; if(argc < 2) { printf("Usage: %s
\n", argv[0]); return 1; } curl = curl_easy_init(); curl_easy_setopt(curl, CURLOPT_URL, argv[1]); //Follow redirect curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L); res = curl_easy_perform(curl); /* always cleanup */ curl_easy_cleanup(curl); return 0; }
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)