Home
last modified time | relevance | path

Searched refs:errnum (Results 1 – 25 of 36) sorted by relevance

12

/glibc-2.36/misc/
Derror.c74 extern void __error (int status, int errnum, const char *message, ...)
76 extern void __error_at_line (int status, int errnum, const char *file_name,
172 print_errno_message (int errnum) in print_errno_message() argument
179 s = __strerror_r (errnum, errbuf, sizeof errbuf); in print_errno_message()
181 if (__strerror_r (errnum, errbuf, sizeof errbuf) == 0) in print_errno_message()
187 s = strerror (errnum); in print_errno_message()
203 error_tail (int status, int errnum, const char *message, va_list args, in error_tail() argument
218 if (errnum) in error_tail()
219 print_errno_message (errnum); in error_tail()
236 __error_internal (int status, int errnum, const char *message, in __error_internal() argument
[all …]
/glibc-2.36/sysdeps/mach/
D_strerror.c27 __strerror_r (int errnum, char *buf, size_t buflen) in __strerror_r() argument
35 __mach_error_map_compat (&errnum); in __strerror_r()
37 system = err_get_system (errnum); in __strerror_r()
38 sub = err_get_sub (errnum); in __strerror_r()
39 code = err_get_code (errnum); in __strerror_r()
44 errnum); in __strerror_r()
56 es->subsystem[sub].subsys_name, errnum); in __strerror_r()
Dstrerror_l.c42 __strerror_l (int errnum, locale_t loc) in __strerror_l() argument
52 __mach_error_map_compat (&errnum); in __strerror_l()
54 system = err_get_system (errnum); in __strerror_l()
55 sub = err_get_sub (errnum); in __strerror_l()
56 code = err_get_code (errnum); in __strerror_l()
64 errnum) == -1) in __strerror_l()
82 errnum) == -1) in __strerror_l()
Dxpg-strerror.c38 __xpg_strerror_r (int errnum, char *buf, size_t buflen) in __xpg_strerror_r() argument
47 __mach_error_map_compat (&errnum); in __xpg_strerror_r()
49 system = err_get_system (errnum); in __xpg_strerror_r()
50 sub = err_get_sub (errnum); in __xpg_strerror_r()
51 code = err_get_code (errnum); in __xpg_strerror_r()
/glibc-2.36/stdio-common/
Dperror.c26 perror_internal (FILE *fp, const char *s, int errnum) in perror_internal() argument
37 errstring = __strerror_r (errnum, buf, sizeof buf); in perror_internal()
49 int errnum = errno; in perror() local
67 perror_internal (stderr, s, errnum); in perror()
74 perror_internal (fp, s, errnum); in perror()
Derrlist.c26 __get_errlist (int errnum) in __get_errlist() argument
28 int mapped = ERR_MAP (errnum); in __get_errlist()
Derrname.c54 __get_errname (int errnum) in __get_errname() argument
56 int mapped = ERR_MAP (errnum); in __get_errname()
/glibc-2.36/sysdeps/ieee754/ldbl-128ibm-compat/
Dieee128-error.c29 IEEE128_DECL (error) (int status, int errnum, const char *message, ...) in IEEE128_DECL()
33 __error_internal (status, errnum, message, ap, in IEEE128_DECL()
40 IEEE128_DECL (error_at_line) (int status, int errnum, in IEEE128_ALIAS()
47 __error_at_line_internal (status, errnum, file_name, line_number, in IEEE128_ALIAS()
Dieee128-argp-help.c34 int errnum, const char *fmt, ...) in strong_alias()
38 __argp_failure_internal (state, status, errnum, fmt, ap, in strong_alias()
/glibc-2.36/assert/
Dassert.h59 # define assert_perror(errnum) (__ASSERT_VOID_CAST (0)) argument
114 # define assert_perror(errnum) \ argument
115 (!(errnum) \
117 : __assert_perror_fail ((errnum), __FILE__, __LINE__, __ASSERT_FUNCTION))
Dassert-perr.c28 __assert_perror_fail (int errnum, in __assert_perror_fail() argument
34 char *e = __strerror_r (errnum, errbuf, sizeof errbuf); in __assert_perror_fail()
/glibc-2.36/elf/
Ddl-minimal.c122 __strerror_r (int errnum, char *buf, size_t buflen) in __strerror_r() argument
126 switch (errnum) in __strerror_r()
150 msg = _itoa (errnum, buf + buflen - 1, 10, 0); in __strerror_r()
194 __assert_perror_fail (int errnum, in rtld_hidden_weak()
202 __strerror_r (errnum, errbuf, sizeof errbuf)); in rtld_hidden_weak()
Ddl-profile.c331 int errnum; in _dl_start_profile() local
336 errnum = errno; in _dl_start_profile()
340 __strerror_r (errnum, buf, sizeof buf)); in _dl_start_profile()
/glibc-2.36/string/
D_strerror.c25 __strerror_r (int errnum, char *buf, size_t buflen) in __strerror_r() argument
27 char *err = (char *) __get_errlist (errnum); in __strerror_r()
30 __snprintf (buf, buflen, "%s%d", _("Unknown error "), errnum); in __strerror_r()
Dstrerror_l.c37 __strerror_l (int errnum, locale_t loc) in __strerror_l() argument
40 char *err = (char *) __get_errlist (errnum); in __strerror_l()
46 translate ("Unknown error ", loc), errnum) == -1) in __strerror_l()
Dstrerrorname_np.c22 strerrorname_np (int errnum) in strerrorname_np() argument
24 return __get_errname (errnum); in strerrorname_np()
Dstrerror.c22 strerror (int errnum) in strerror() argument
24 return __strerror_l (errnum, __libc_tsd_get (locale_t, LOCALE)); in strerror()
Dstrerrordesc_np.c22 __strerrordesc_np (int errnum) in __strerrordesc_np() argument
24 return __get_errlist (errnum); in __strerrordesc_np()
Dxpg-strerror.c27 __xpg_strerror_r (int errnum, char *buf, size_t buflen) in __xpg_strerror_r() argument
29 const char *estr = __strerror_r (errnum, buf, buflen); in __xpg_strerror_r()
/glibc-2.36/locale/programs/
Drecord-status.c168 record_error (int status, int errnum, const char *format, ...) in record_error() argument
192 error (status, errnum, "[error] %s", str); in record_error()
200 record_error_at_line (int status, int errnum, const char *filename, in record_error_at_line() argument
225 error_at_line (status, errnum, filename, linenum, "[error] %s", str); in record_error_at_line()
Drecord-status.h35 void record_error (int status, int errnum, const char *format, ...);
36 void record_error_at_line (int status, int errnum,
/glibc-2.36/include/
Derror.h7 __error_internal (int status, int errnum, const char *message,
11 __error_at_line_internal (int status, int errnum, const char *file_name,
Dargp.h12 int errnum, const char *fmt, va_list ap,
/glibc-2.36/argp/
Dargp-help.c73 char *strerror_r (int errnum, char *buf, size_t buflen);
77 char *strerror (int errnum);
1930 int errnum, const char *fmt, va_list ap, in weak_alias()
1970 if (errnum) in weak_alias()
1976 __strerror_r (errnum, buf, sizeof (buf))); in weak_alias()
1981 fputs (__strerror_r (errnum, buf, sizeof (buf)), stream); in weak_alias()
1983 fputs (strerror (errnum), stream); in weak_alias()
2005 __argp_failure (const struct argp_state *state, int status, int errnum, in __argp_failure() argument
2010 __argp_failure_internal (state, status, errnum, fmt, ap, 0); in __argp_failure()
/glibc-2.36/sysdeps/ieee754/ldbl-opt/
Dnldbl-compat.c1006 int errnum, const char *fmt, ...) in __nldbl_argp_failure() argument
1010 __argp_failure_internal (state, status, errnum, fmt, ap, in __nldbl_argp_failure()
1076 __nldbl_error (int status, int errnum, const char *message, ...) in __nldbl_error() argument
1080 __error_internal (status, errnum, message, ap, PRINTF_LDBL_IS_DBL); in __nldbl_error()
1085 __nldbl_error_at_line (int status, int errnum, const char *file_name, in __nldbl_error_at_line() argument
1091 __error_at_line_internal (status, errnum, file_name, line_number, in __nldbl_error_at_line()

12