-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.h
More file actions
37 lines (36 loc) · 738 Bytes
/
main.h
File metadata and controls
37 lines (36 loc) · 738 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
36
37
#ifndef MAIN_H
#define MAIN_H
#include <stdarg.h>
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include <stdarg.h>
/**
* struct choose - .
*
* @c: .
* @ptr: .
*/
typedef struct choose
{
char c;
int (*ptr)(va_list arg);
} choose_t;
int _putchar(char c);
int _printf(const char *format, ...);
int printdecimal(va_list arg);
int binary(va_list arg);
int ch(va_list arg);
int string(va_list arg);
int hex_upper(va_list arg);
int hex_lower(va_list arg);
int un_int(va_list arg);
int po(va_list arg);
int octal(va_list arg);
int after_percent(char s, va_list arg, int len, int i);
int if_specifier(choose_t spec[], char s);
int reverse(va_list arg);
int rot13(va_list arg);
#endif