-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfun.c
More file actions
45 lines (39 loc) · 646 Bytes
/
Copy pathfun.c
File metadata and controls
45 lines (39 loc) · 646 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
38
39
40
41
42
43
44
45
/*
** EPITECH PROJECT, 2019
** functions
** File description:
** functions
*/
#include <stdarg.h>
#include <stdlib.h>
#include "my.h"
int funint(va_list List)
{
int in;
in = va_arg(List, int);
my_put_nbr(in);
}
int funch(va_list List)
{
char ch;
ch = va_arg(List, int);
my_putchar(ch);
}
int funstr(va_list List)
{
char *str;
str = va_arg(List, char *);
my_putstr(str);
}
int fununint(va_list List)
{
unsigned int usint;
usint = va_arg(List, unsigned int);
my_putuint(usint);
}
int fundectoct(va_list List)
{
int dectooct;
dectooct = va_arg(List, int);
my_putdectoct(dectooct);
}