Scaffold ft_isalpha_test.c
This commit is contained in:
parent
8a92b5efae
commit
3e14067060
|
@ -6,11 +6,33 @@
|
||||||
/* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */
|
/* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2023/05/02 18:43:57 by tischmid #+# #+# */
|
/* Created: 2023/05/02 18:43:57 by tischmid #+# #+# */
|
||||||
/* Updated: 2023/05/02 18:52:43 by tischmid ### ########.fr */
|
/* Updated: 2023/05/02 21:23:43 by tischmid ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
int ft_isalpha(int c);
|
||||||
|
|
||||||
|
int printf_test(const char *format, ...)
|
||||||
|
{
|
||||||
|
va_list listp;
|
||||||
|
int return_code;
|
||||||
|
|
||||||
|
var_start(listp, fmt);
|
||||||
|
fprintf(1, "%s", "<TEST>");
|
||||||
|
return_code = vfprintf(1, format, listp);
|
||||||
|
fprintf(1, "%s", "</TEST>");
|
||||||
|
va_end(listp);
|
||||||
|
return (return_code);
|
||||||
|
}
|
||||||
|
|
||||||
|
int printf_expect(const char *format, ...)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
|
printf();
|
||||||
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue