wm: ticl

ref: 5ff9649e6c51bae0dd09f218e4943fa5f4d458be
dir: /utils.h/

View raw version
/*
 * This work is dedicated to the public domain.
 * See COPYING file for more information.
 */

void	 fatal(const char *fmt, ...);
void	*ecalloc(size_t nmemb, size_t size);
char	*split(char **str, char ch);
void	 ircsend(int fd, const char *format, ...);
int	 dial(char *host, char *port);
int	 isstrnumber(char *str);
size_t	 strlcpy(char *dst, const char *src, size_t size);
ssize_t	 dreadline(int fd, char *buffer, size_t size);