diff --git a/README.md b/README.md index 8cb0d25..efaf3ac 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,31 @@ # 0x10 - C - printf ---- + ## DESCRIPTION First Holberton School group project in the Low Level Programming track. +#### Function prototype +``` +int _printf(const char *format, ...); +``` +#### Implemented format specifiers + +| Specifier type | Description | +| --- | --- | +| c | Single character | +| s | String of characters | +| d or i | Signed decimal integer | +| b | Unsigned binary | +| u | Unsigned decimal integer | +| o | Unsigned octal | + +#### Compilation and testing + +We compiled via: +``` +$ gcc -Wall -Werror -Wextra -pedantic *.c +``` + +We also have some tests in the `tests` folder. Feel free to suggest more. + ## Authors `Fernando González-Morales, Stefan Silverio` diff --git a/printf.1 b/printf.1 deleted file mode 100644 index 39870c0..0000000 --- a/printf.1 +++ /dev/null @@ -1,32 +0,0 @@ -.TH PRINTF 1 -.SH NAME -printf \- display characters, strings, and integers on stdout -.SH SYNOPSIS -.B printf -[OPTIONS] -.IR file -[%c characters] [%s strings] [%i or %d integers] -.LP -.B printf -[OPTIONS] -.IR file -[%c characters] [%s strings] [%i or %d integers] -.SH DESCRIPTION -.B printf -printf writes data entered by user to standard output -.br -.SH 1 \- PRINTF -.TP -.BR Example -.br -.SAMPLE - - - -.SH OPTIONS -.TP -.BR \ %s ", " \ %c ", " \ %i ", " \ %d -"s" indicates that user will enter a string. -"c" indicates that user will enter a character. -"i" indicates that user will enter a integer. -"d" indicates that user will enter a interger.