view modules/atoll @ 40215:88b18d82fa61

crypto/des: Fix undefined behaviour. * lib/des.c (READ_64BIT_DATA): Cast bytes to 'unsigned int', to avoid shift operations on 'int'.
author Bruno Haible <bruno@clisp.org>
date Sat, 09 Mar 2019 22:21:25 +0100
parents 778d3f273443
children
line wrap: on
line source

Description:
atoll() function: convert decimal string to 'long long'.

Files:
lib/atoll.c
m4/atoll.m4
m4/longlong.m4

Depends-on:
strtoll         [test $HAVE_ATOLL = 0]

configure.ac:
gl_FUNC_ATOLL
if test $HAVE_ATOLL = 0; then
  AC_LIBOBJ([atoll])
  gl_PREREQ_ATOLL
fi
gl_STDLIB_MODULE_INDICATOR([atoll])

Makefile.am:

Include:
<stdlib.h>

License:
LGPL

Maintainer:
all, glibc