PIPS
stdlib.in.h File Reference
#include <stddef.h>
+ Include dependency graph for stdlib.in.h:

Go to the source code of this file.

Macros

#define _   @GUARD_PREFIX@_STDLIB_H
 A GNU-like <stdlib.h>. More...
 
#define _GL_ATTRIBUTE_PURE   /**empty */
 NetBSD 5.0 mis-defines NULL. More...
 
#define EXIT_SUCCESS   0
 The definition of _Noreturn is copied here. More...
 
#define EXIT_FAILURE   1
 Tandem/NSK and other platforms that define EXIT_FAILURE as -1 interfere with proper operation of xargs. More...
 

Macro Definition Documentation

◆ _

#define _   @GUARD_PREFIX@_STDLIB_H

A GNU-like <stdlib.h>.

Copyright (C) 1995, 2001-2004, 2006-2014 Free Software Foundation, Inc.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Normal invocation convention.
The include_next requires a split double-inclusion guard.

Definition at line 38 of file stdlib.in.h.

◆ _GL_ATTRIBUTE_PURE

#define _GL_ATTRIBUTE_PURE   /**empty */

NetBSD 5.0 mis-defines NULL.


MirBSD 10 defines WEXITSTATUS in <sys/wait.h>, not in <stdlib.h>.
Solaris declares getloadavg() in <sys/loadavg.h>.
Native Windows platforms declare mktemp() in <io.h>.
The attribute feature is available in gcc versions 2.5 and later. The attribute pure was added in gcc 2.96.

Definition at line 103 of file stdlib.in.h.

◆ EXIT_FAILURE

#define EXIT_FAILURE   1

Tandem/NSK and other platforms that define EXIT_FAILURE as -1 interfere with proper operation of xargs.


Definition at line 122 of file stdlib.in.h.

◆ EXIT_SUCCESS

#define EXIT_SUCCESS   0

The definition of _Noreturn is copied here.


The definitions of _GL_FUNCDECL_RPL etc. are copied here.
The definition of _GL_ARG_NONNULL is copied here.
The definition of _GL_WARN_ON_USE is copied here.
Some systems do not define EXIT_*, despite otherwise supporting C89.

Definition at line 117 of file stdlib.in.h.