mirror of git://sourceware.org/git/glibc.git
The strerrorname_np returns error number name (e.g. "EINVAL" for EINVAL) while strerrordesc_np returns string describing error number (e.g "Invalid argument" for EINVAL). Different than strerror, strerrordesc_np does not attempt to translate the return description, both functions return NULL for an invalid error number. They should be used instead of sys_errlist and sys_nerr, both are thread and async-signal safe. These functions are GNU extensions. Checked on x86-64-linux-gnu, i686-linux-gnu, powerpc64le-linux-gnu, and s390x-linux-gnu. Tested-by: Carlos O'Donell <carlos@redhat.com> Reviewed-by: Carlos O'Donell <carlos@redhat.com> |
||
|---|---|---|
| .. | ||
| bits | ||
| sys | ||
| Implies | ||
| Makefile | ||
| Versions | ||
| arch-syscall.h | ||
| atomic-machine.h | ||
| c++-types.data | ||
| cacheflush.c | ||
| clone.S | ||
| configure | ||
| configure.ac | ||
| getcontext.S | ||
| jmp_buf-macros.h | ||
| kernel_rt_sigframe.h | ||
| kernel_sigaction.h | ||
| ld.abilist | ||
| libBrokenLocale.abilist | ||
| libanl.abilist | ||
| libc.abilist | ||
| libcrypt.abilist | ||
| libdl.abilist | ||
| libm.abilist | ||
| libnsl.abilist | ||
| libpthread.abilist | ||
| libresolv.abilist | ||
| librt.abilist | ||
| libthread_db.abilist | ||
| libutil.abilist | ||
| localplt.data | ||
| makecontext.c | ||
| setcontext.S | ||
| shlib-versions | ||
| sigcontextinfo.h | ||
| swapcontext.S | ||
| syscall.S | ||
| sysdep.S | ||
| sysdep.h | ||
| ucontext_i.sym | ||
| vfork.S | ||