Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions holberton.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
#ifndef __HOLBERTON_H__
#define __HOLBERTON_H__

/**
* struct printer - format printer struct
* @spec: the format specifier
* @fn: the function that handles spec
*/
typedef struct printer
{
char *spec;
int (*fn) (va_list);
} print_t;


int _putchar(char c);

#endif