Skip to content

abranhe/opener.c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



opener.c: Open URLs in C (Cross-Platform)



Installation

Using Clib

$ clib install abranhe/opener.c

Usage

#include "opener.h"

int main()
{
	opener("https://abranhe.com");
	return 0;
}
$ make run-example

API

int opener(const char *link);

Open a URL on the default browser.

Params:
  • link: The url you whish to open

Related

  • opener: CLI tool written in C for this package.
  • os.c: C library to know your operating system.

Team

Carlos Abraham Logo
Carlos Abraham

License

MIT License © Carlos Abraham