Skip to content

MarionBaussart/printf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

_printf

Functions

_printf

Function that print the string and these possibles arguments

_putchar

Function that writes the character c to stdout

main.h

Function that use for all prototypes for functions.

print_char

Function that print a char.

Specifier : %c

print_string

Function that print a string.

Specifier : %s

print_percent

Function that print a percent.

Specifier : %%

print_integer

Function that print an int.

Specifier : %d or %i

convert_binary

Function that convert into binary.

Specifier : %b

print_unsigned

Function that print an unsigned int.

Specifier : %u

convert_octal

Function that convert into octal.

Specifier : %o

convert_hexa

Function that convert into hexadecimal.

Specifier : %x

convert_HEXA

Function that convert into hexadecimal (base 16) in uppercase.

Specifier : %X

unprintable_char

Function that print a string. Non printable characters (0 < ASCII value < 32 or >= 127) are printed this way: \x, followed by the ASCII code value in hexadecimal (upper case - always 2 characters).

Specifier : %S

print_hexas

Function that convert an long unsigned int into hexadecimal number (print address)

Specifier : %p

print_revstring

print the reversed string

Specifier : %r

print_rot13

encodes a string using rot13

Specifier : %R

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages