Files
MentOS/libc/inc/strerror.h
T
2021-10-04 11:44:02 +02:00

15 lines
488 B
C

/// MentOS, The Mentoring Operating system project
/// @file strerror.h
/// @brief Contains the function that transfornms an errno into a string.
/// @copyright (c) 2014-2021 This file is distributed under the MIT License.
/// See LICENSE.md for details.
#pragma once
#include <sys/errno.h>
/// @brief Returns the string representing the error number.
/// @param errnum The error number.
/// @return The string representing the error number.
char *strerror(int errnum);