-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathman_3_printf
More file actions
35 lines (28 loc) · 739 Bytes
/
Copy pathman_3_printf
File metadata and controls
35 lines (28 loc) · 739 Bytes
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
32
33
34
35
.TH _PRINTF "1" "10 JULY 2022" "0x11. C - printf"
.SH NAME
_printf - print data according to a format
.SH SYNOPSIS
.B printf FORMAT [ARGUMENT]...
.SH DESCRIPTION
Prints ARGUMENT(s) based on FORMAT
Format specifiers (beginning with %), the additional arguments following format are formatted and inserted.
_printf will also take an indefinite amount of arguments.
Example:
_printf("%s", text);
In the Example print the value of text with %s give the format of text.
.B The conversion specifiers
.IP %c
- prints character.
.IP %s
- prints string.
.IP %%
- prints percentage symbol.
.IP %d
- prints decimal.
.IP %i
- prints integer number.
.SH SEE ALSO
.I printf (3)
.SH AUTHOR
IYEBHORA Samuel ( sammykingx )
ADEYEMI Timmy ( Timmypr )