tgrekov-philosophers
HIVE philosophers July 2024
Loading...
Searching...
No Matches
err.c File Reference

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* err.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tgrekov <tgrekov@student.hive.fi> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/07/22 04:42:46 by tgrekov #+# #+# */
/* Updated: 2024/07/27 08:36:38 by tgrekov ### ########.fr */
/* */
/* ************************************************************************** */

Definition in file err.c.

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

Go to the source code of this file.

Functions

int err (const char *str, int retval)
 Write str to stderr and return retval.
 

Function Documentation

◆ err()

int err ( const char *  str,
int  retval 
)

Write str to stderr and return retval.

Parameters
str
retval
Return values
int

Definition at line 29 of file err.c.

Here is the caller graph for this function: