-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathman_3_printf
57 lines (57 loc) · 1.12 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
.TH man _printf "18 June 2017" "0.01" "Holberton's _printf project"
.SH NAME
.B printf - format and print data
.SH SYNOPSIS
.B printf
.I format
.I [arguments]
.BR ...
.PP
.B #include "holberton.h"
.PP
.B int op_char(va_list valist);
.PP
.B int op_int(va_list valist);
.PP
.B int op_float(va_list valist);
.PP
.B int op_string(va_list valist);
.PP
.B int op_percent(va_list valist);
.PP
.B int _putchar(char c);
.PP
.B int choose_op(params_t *p, va_list valist);
.PP
.B int init_params(params_t *p, const char *format, op_t *ops[]);
.PP
.B char *_strdup(const char *src);
.SH DESCRIPTION
The printf utility formats and prints its arguments.
.SH OPTIONS
.B %c
prints char to standard output
.PP
.B %s
prints string to standard output
.PP
.B %i
prints signed integer to standard output
.PP
.B %d
prints signed decimal to standard output
.PP
.B %r
prints revered string to standard output
.PP
.B %f
prints floating-point number to standard output
.PP
.B %n
prints the number of characters written
.B %%
escape sequence used for formatting the variables being passed to _printf()
.SH BUGS
No Known bugs.
.SH AUTHORS
Jeffrey Kanemitsu and Larry Madeo