An open API service indexing awesome lists of open source software.

https://github.com/srvariable/bfl

Big Function Library is a collection of C functions made from scratch.
https://github.com/srvariable/bfl

42 c library open-source

Last synced: about 1 year ago
JSON representation

Big Function Library is a collection of C functions made from scratch.

Awesome Lists containing this project

README

          

# BFL

## Description

Big Function Library is a UNIX collection of functions made from scratch.
It uses the libraries _stdarg.h_, _stddef.h_, _stdlib.h_ and _unistd.h_.

## Requirements

- make
- gcc

> [!NOTE]
>
> Run this command to install the requirements
>
> ```Shell
> sudo apt update
> sudo apt install make \
> build-essential
> ```

## Usage

Go to you project directory

```Shell
cd /path/to/your/project
```

Clone the repository

```Shell
git clone https://github.com/SrVariable/BFL.git
```

Compile the library and link it to your project

```Shell
make -C BFL
gcc main.c -L./BFL -lBFL -I BFL/include
```

> [!NOTE]
>
> Remember to include the header file in your project
>
> ```C
> #include "BFL.h"
>
> int main(int argc, char **argv)
> {
> ft_printf("Hello World\n");
> return (BFL_OK);
> }
> ```

## Contributing

If you find any bug or have any suggestion, please open an issue
[here](https://github.com/SrVariable/BFL/issues/new).