*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2012,2014,2015,2016, by the GROMACS development team, led by
+ * Copyright (c) 2012,2014,2015,2016,2017, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
act.sa_handler = signal_handler;
sigemptyset(&act.sa_mask);
act.sa_flags = SA_RESTART;
- sigaction(signum, &act, NULL);
+ sigaction(signum, &act, nullptr);
#else
signal(signum, signal_handler);
#endif
void signal_handler_install(void)
{
- if (getenv("GMX_NO_TERM") == NULL)
+ if (getenv("GMX_NO_TERM") == nullptr)
{
if (debug)
{
}
gmx_signal(SIGTERM);
}
- if (getenv("GMX_NO_INT") == NULL)
+ if (getenv("GMX_NO_INT") == nullptr)
{
if (debug)
{
gmx_signal(SIGINT);
}
#if HAVE_SIGUSR1
- if (getenv("GMX_NO_USR1") == NULL)
+ if (getenv("GMX_NO_USR1") == nullptr)
{
if (debug)
{