-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path_printf.1
More file actions
executable file
·33 lines (33 loc) · 893 Bytes
/
_printf.1
File metadata and controls
executable file
·33 lines (33 loc) · 893 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
.TH _PRINTF 808 "July, 2021" "0.1.0" "custom _printf man page"
.SH NAME
_printf \- custom printf function that prints any string with additional format operators
.SH SYNOPSIS
.B _printf.c
( const char * format,
.IR {parameters,
.IR ...}
)
.LP
.SH DESCRIPTION
Printf stands for print formatting. Our _printf provides identical functionality to the one in the standard library.
.br
This program will take strings, characters, numbers, etc. and print them along with certain (if any) formatting operations.
.br
.\"
.\" USAGE
.\"
.SH EXAMPLES
.TP
.ir FunctionCall: _printf("This is an %s.\\n", "example");
.TP
Result: This is an example.$ (The $ signifies an end of line character and therefore represents a new line being printed there.
.br
.TP
Variable Initialization: int n = 50;
.br
.TP
Function Call: _printf("This is the %dth example.\\n", n);
.br
.TP
Result: This is the 50th example.$
.SH