-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathman_3_printf
31 lines (31 loc) · 967 Bytes
/
man_3_printf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
.TH man 3 "21 July 2020" "0.01" "_printf man page"
.SH NAME
.B _printf
- A simple re-creation of the printf function
.SH SYNOPSIS
To use this function the #include "holberton.h" header is needed.
.SH 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.
.SH USAGE
To use _printf you have to use the following key characters preceeded by % symbol.
.RS 3
%c: To be used to print characters
.RS 0
%s: To be used to print strings
.RS 0
%d: To print integers of max and min size of an int type
.RS 0
%i: To print integers of max and min size of an int type
.RS 0
%b: To print a number in binary form
.SH RETURN VALUES
The _printf() function returns an integer representing the number of symbols
printed not counting \\0 for the string.
.SH SEE ALSO
.I printf(3)
.SH BUGS
No known bugs.
.SH AUTHOR
Valentina Jaramillo Ramirez //
Mauricio García Restrepo