tgrekov-fdf
HIVE fdf May 2024
Loading...
Searching...
No Matches
err.c
Go to the documentation of this file.
1/* ************************************************************************** */
2/* */
3/* ::: :::::::: */
4/* err.c :+: :+: :+: */
5/* +:+ +:+ +:+ */
6/* By: tgrekov <tgrekov@student.hive.fi> +#+ +:+ +#+ */
7/* +#+#+#+#+#+ +#+ */
8/* Created: 2024/04/22 15:05:36 by tgrekov #+# #+# */
9/* Updated: 2024/05/02 10:28:07 by tgrekov ### ########.fr */
10/* */
11/* ************************************************************************** */
12
20#include <stdio.h>
21
29void *err(const char *str, void *retval)
30{
31 perror(str);
32 return (retval);
33}
void * err(const char *str, void *retval)
Wrapper around perror() that always returns retval.
Definition err.c:29