mirror of
https://gitlab.os-k.eu/os-k-team/os-k.git
synced 2023-08-25 14:03:10 +02:00
32 lines
1.2 KiB
C
32 lines
1.2 KiB
C
|
//----------------------------------------------------------------------------//
|
||
|
// GNU GPL OS/K //
|
||
|
// //
|
||
|
// Authors: spectral` //
|
||
|
// NeoX //
|
||
|
// //
|
||
|
// Desc: Implementation of describe_status() //
|
||
|
//----------------------------------------------------------------------------//
|
||
|
|
||
|
#include "common/common.h"
|
||
|
|
||
|
static const char *descriptions[] = {
|
||
|
[-SUCCESS] = "Success",
|
||
|
[-FAILED] = "Failed (no precision)",
|
||
|
[-NOT_PERMITTED] = "Operation not permitted",
|
||
|
[-ACCESS_DENIED] = "Access denied",
|
||
|
|
||
|
[-BAD_ARGUMENT] = "Bad argument",
|
||
|
[-BAD_ARG_RANGE] = "Bad argument (not in range)",
|
||
|
[-BAD_ARG_NULL] = "Bad argument (null pointer)",
|
||
|
};
|
||
|
|
||
|
const char *describe_status(status_t status)
|
||
|
{
|
||
|
(void)descriptions;
|
||
|
(void)status;
|
||
|
|
||
|
// XXX
|
||
|
return "";
|
||
|
}
|
||
|
|