glibc/sysdeps/unix/sysv/linux/powerpc
Adhemerval Zanella 325081b9eb string: Add strerrorname_np and strerrordesc_np
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>
2020-07-07 15:02:57 -03:00
..
bits Linux: Perform rseq registration at C startup and thread creation 2020-07-06 10:21:16 +02:00
powerpc32 string: Add strerrorname_np and strerrordesc_np 2020-07-07 15:02:57 -03:00
powerpc64 string: Add strerrorname_np and strerrordesc_np 2020-07-07 15:02:57 -03:00
sys
configure
configure.ac
dl-auxv.h
dl-brk.S
dl-cache.h
dl-static.c
elision-conf.c
elision-conf.h
elision-lock.c
elision-timed.c
elision-trylock.c
elision-unlock.c
force-elision.h
get_timebase_freq.c linux: Remove INTERNAL_SYSCALL_DECL 2020-02-14 21:12:45 -03:00
gettimeofday.c y2038: linux: Provide __gettimeofday64 implementation 2020-02-18 23:55:47 +01:00
htm.h
Implies
ioctl.c
ipc_priv.h
kernel_sigaction.h
kernel_termios.h
kernel-features.h
ldconfig.h
ldd-rewrite.sed
ldsodefs.h
libc-start.c
libc-start.h
libc-vdso.h
lowlevellock.h
Makefile
nldbl-abi.h
pt-longjmp.c
pthread_attr_setstack.c
pthread_attr_setstacksize.c
pthread_mutex_cond_lock.c
pthread_mutex_lock.c
pthread_mutex_timedlock.c
pthread_mutex_trylock.c
readelflib.c
rt-sysdep.c
sigcontextinfo.h
syscall.S
sysconf.c
sysdep.c
sysdep.h powerpc: Rename argN to _argN in LOADARGS_N [BZ #25902] 2020-04-30 19:12:49 -07:00
test-gettimebasefreq-static.c
test-gettimebasefreq.c
test-powerpc-linux-sysconf.c
time.c
Versions