Mercurial > gnulib
view modules/getlogin @ 40218:e92cc6824b7f
getloadavg: Write NULL for the null pointer.
Reported by Michal Privoznik <mprivozn@redhat.com>.
* lib/getloadavg.c (getloadavg): Write NULL instead of 0.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 03 Mar 2019 19:36:14 +0100 |
parents | 1ba9e505025c |
children |
line wrap: on
line source
Description: getlogin() function: Get user name. Files: lib/getlogin.c m4/getlogin.m4 Depends-on: unistd configure.ac: gl_FUNC_GETLOGIN if test $HAVE_GETLOGIN = 0; then AC_LIBOBJ([getlogin]) fi gl_UNISTD_MODULE_INDICATOR([getlogin]) AC_REQUIRE([gl_LIB_GETLOGIN]) Makefile.am: Include: <unistd.h> Link: $(LIB_GETLOGIN) License: LGPLv2+ Maintainer: all