Giter Site home page Giter Site logo

libft's Introduction

libft

To use the library, you will need to compile it into a static library file (.a). This can be done by running the make command in the project directory. This will compile all the necessary files and create the libft.a file in the same directory.

The library contains a wide variety of functions, including:

  • ft_atoi: Converts a string to an integer.
  • ft_bzero: Sets a block of memory to zero.
  • ft_calloc: Allocates memory and sets it to zero.
  • ft_isalnum: Checks if a character is alphanumeric.
  • ft_isalpha: Checks if a character is alphabetic.
  • ft_isascii: Checks if a character is an ASCII character.
  • ft_isdigit: Checks if a character is a digit.
  • ft_isprint: Checks if a character is printable.
  • ft_itoa: Converts an integer to a string.
  • ft_memccpy: Copies memory until a specific character is found.
  • ft_memchr: Searches a block of memory for a specific character.
  • ft_memcmp: Compares two blocks of memory.
  • ft_memcpy: Copies a block of memory.
  • ft_memmove: Copies a block of memory, handling overlapping memory blocks.
  • ft_memset: Sets a block of memory to a specific value.
  • ft_putchar_fd: Writes a character to a file descriptor.
  • ft_putendl_fd: Writes a string, followed by a newline, to a file descriptor.
  • ft_putnbr_fd: Writes an integer to a file descriptor.
  • ft_putstr_fd: Writes a string to a file descriptor.
  • ft_split: Splits a string into an array of strings, based on a delimiter.
  • ft_strchr: Searches a string for a specific character.
  • ft_strdup: Duplicates a string.
  • ft_strjoin: Concatenates two strings.
  • ft_strlcat: Concatenates two strings, ensuring that the output is always null-terminated.
  • ft_strlcpy: Copies a string, ensuring that the output is always null-terminated.
  • ft_strlen: Calculates the length of a string.
  • ft_strmapi: Applies a function to each character in a string.
  • ft_strncmp: Compares two strings, up to a specified number of characters.
  • ft_strnstr: Searches a string for a substring.
  • ft_strrchr: Searches a string for a specific character, starting from the end.
  • ft_strtrim: Removes specified characters from the beginning and end of a string.
  • ft_substr: Extracts a substring from a string.

In addition to these functions, there are also several functions for working with linked lists.

libft's People

Contributors

alfredpoly avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.