tgrekov-fdf
HIVE fdf May 2024
Loading...
Searching...
No Matches
err.c File Reference

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* err.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tgrekov <tgrekov@student.hive.fi> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/22 15:05:36 by tgrekov #+# #+# */
/* Updated: 2024/05/02 10:28:07 by tgrekov ### ########.fr */
/* */
/* ************************************************************************** */

Definition in file err.c.

#include <stdio.h>
Include dependency graph for err.c:

Go to the source code of this file.

Functions

void * err (const char *str, void *retval)
 Wrapper around perror() that always returns retval.
 

Function Documentation

◆ err()

void * err ( const char *  str,
void *  retval 
)

Wrapper around perror() that always returns retval.

Parameters
strString to pass to perror()
retvalReturn value
Return values
void*retval

Definition at line 29 of file err.c.

Here is the caller graph for this function: