Skip to content

s0m35h1t/printf

Repository files navigation

printf - FUNCTION IN C / holberton school project

This project is about creating the famous printf function in c proframming in holberton school. THis work was done by Adib Grouise and Naouali Nebil 23 october 2019. hOLBERTON SCHOOL.

Synopsis

This is a simple implementation of printf function that formats and prints data

Description

The _printf() function produces output according to a format which is described below. This function write its output to the stdout, the standard output stream. Returns the count of printed characters when the function is successful and -1 when the function fails.

The available convertion specifiers are:

  • %c: Prints a single character.
  • %s: Prints a string of characters.
  • %d: Prints integers.
  • %i: Prints integers.
  • %b: Prints the binary representation of an unsigned decimal.
  • %u: Prints unsigned integers
  • %x: Prints the hexadecial representation of an unsigned decimal in lowercase letters
  • %X:Prints the hexadecial representation of an unsigned decimal in uppercase letters
  • %r: Prints a reversed string
  • %R: Prints the Rot13 interpretation of a string

About

printf function

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages