summaryrefslogtreecommitdiff
path: root/src/string/strerror_s.c
blob: 65ff77c4090a20429e1d76e6b3c240854aa19e8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#include <string.h>
#include <errno.h>
#include "_safety.h"

/** convert error number to string **/
errno_t strerror_s(char *s, rsize_t maxsize, errno_t errnum)
{
	SIGNAL_SAFE(0);
	(void)s; (void)maxsize; (void)errnum;
	return errnum;
}

__check_3(errno_t, 0, strerror_s, char *, rsize_t, errno_t)

/***
The fn(strerror_s) converts the error number arg(errnum) to an error message
string. The string returned should not be modified, and may be overwritten by
subsequent calls.
***/

/* UNSPECIFIED: - */
/* UNDEFINED: - */
/* IMPLEMENTATION: - */
/* LOCALE: LC_MESSAGES */

/* RETURN: a pointer to the error message string */

/*
CEXT1(201112)
*/