man 3 printf

Solutions on MaxInterview for man 3 printf by the best coders in the world

showing results for - "man 3 printf"
Charlotte
05 Jan 2021
1       #include <stdio.h>
2
3       int printf(const char *restrict format, ...);
4       int fprintf(FILE *restrict stream,
5                   const char *restrict format, ...);
6       int dprintf(int fd,
7                   const char *restrict format, ...);
8       int sprintf(char *restrict str,
9                   const char *restrict format, ...);
10       int snprintf(char *restrict str, size_t size,
11                   const char *restrict format, ...);
12
13       #include <stdarg.h>
14
15       int vprintf(const char *restrict format, va_list ap);
16       int vfprintf(FILE *restrict stream,
17                   const char *restrict format, va_list ap);
18       int vdprintf(int fd,
19                   const char *restrict format, va_list ap);
20       int vsprintf(char *restrict str,
21                   const char *restrict format, va_list ap);
22       int vsnprintf(char *restrict str, size_t size,
23                   const char *restrict format, va_list ap);
24
25   Feature Test Macro Requirements for glibc (see
26   feature_test_macros(7)):
27
28       snprintf(), vsnprintf():
29           _XOPEN_SOURCE >= 500 || _ISOC99_SOURCE
30               || /* Glibc <= 2.19: */ _BSD_SOURCE
31
32       dprintf(), vdprintf():
33           Since glibc 2.10:
34               _POSIX_C_SOURCE >= 200809L
35           Before glibc 2.10:
36               _GNU_SOURCE
37
queries leading to this page
man 3 printfman printf 283 29man 3 printf