PIPS
stdio.in.h File Reference
#include <stdarg.h>
#include <stddef.h>
#include <sys/types.h>
+ Include dependency graph for stdio.in.h:

Go to the source code of this file.

Macros

#define _GL_ALREADY_INCLUDING_STDIO_H
 A GNU-like <stdio.h>. More...
 
#define _   @GUARD_PREFIX@_STDIO_H
 The include_next requires a split double-inclusion guard. More...
 
#define _GL_ATTRIBUTE_FORMAT(spec)   /**empty */
 Get va_list. More...
 
#define _GL_ATTRIBUTE_FORMAT_PRINTF(formatstring_parameter, first_argument)    _GL_ATTRIBUTE_FORMAT ((__printf__, formatstring_parameter, first_argument))
 _GL_ATTRIBUTE_FORMAT_PRINTF indicates to GCC that the function takes a format string and arguments, where the format string directives are the ones standardized by ISO C99 and POSIX. More...
 
#define _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM(formatstring_parameter, first_argument)    _GL_ATTRIBUTE_FORMAT ((__printf__, formatstring_parameter, first_argument))
 _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM is like _GL_ATTRIBUTE_FORMAT_PRINTF, except that it indicates to GCC that the supported format string directives are the ones of the system printf(), rather than the ones standardized by ISO C99 and POSIX. More...
 
#define _GL_ATTRIBUTE_FORMAT_SCANF(formatstring_parameter, first_argument)    _GL_ATTRIBUTE_FORMAT ((__scanf__, formatstring_parameter, first_argument))
 _GL_ATTRIBUTE_FORMAT_SCANF indicates to GCC that the function takes a format string and arguments, where the format string directives are the ones standardized by ISO C99 and POSIX. More...
 
#define _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM(formatstring_parameter, first_argument)    _GL_ATTRIBUTE_FORMAT ((__scanf__, formatstring_parameter, first_argument))
 _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM is like _GL_ATTRIBUTE_FORMAT_SCANF, except that it indicates to GCC that the supported format string directives are the ones of the system scanf(), rather than the ones standardized by ISO C99 and POSIX. More...
 
#define _GL_STDIO_STRINGIZE(token)   #token
 Solaris 10 declares renameat in <unistd.h>, not in <stdio.h>. More...
 
#define _GL_STDIO_MACROEXPAND_AND_STRINGIZE(token)   _GL_STDIO_STRINGIZE(token)
 

Macro Definition Documentation

◆ _

#define _   @GUARD_PREFIX@_STDIO_H

The include_next requires a split double-inclusion guard.


Definition at line 47 of file stdio.in.h.

◆ _GL_ALREADY_INCLUDING_STDIO_H

#define _GL_ALREADY_INCLUDING_STDIO_H

A GNU-like <stdio.h>.

Copyright (C) 2004, 2007-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, 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.

Definition at line 39 of file stdio.in.h.

◆ _GL_ATTRIBUTE_FORMAT

#define _GL_ATTRIBUTE_FORMAT (   spec)    /**empty */

Get va_list.

Needed on many systems, including glibc 2.8.
Get off_t and ssize_t. Needed on many systems, including glibc 2.8 and eglibc 2.11.2. May also define off_t to a 64-bit type on native Windows.
The attribute feature is available in gcc versions 2.5 and later. The -protected variants of the attributes 'format' and 'printf' are accepted by gcc versions 2.6.4 (effectively 2.7) and later. We enable _GL_ATTRIBUTE_FORMAT only if these are supported too, because gnulib and libintl do '#define printf __printf' when they override the 'printf' function.

Definition at line 68 of file stdio.in.h.

◆ _GL_ATTRIBUTE_FORMAT_PRINTF

#define _GL_ATTRIBUTE_FORMAT_PRINTF (   formatstring_parameter,
  first_argument 
)     _GL_ATTRIBUTE_FORMAT ((__printf__, formatstring_parameter, first_argument))

_GL_ATTRIBUTE_FORMAT_PRINTF indicates to GCC that the function takes a format string and arguments, where the format string directives are the ones standardized by ISO C99 and POSIX.


Definition at line 79 of file stdio.in.h.

◆ _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM

#define _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM (   formatstring_parameter,
  first_argument 
)     _GL_ATTRIBUTE_FORMAT ((__printf__, formatstring_parameter, first_argument))

_GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM is like _GL_ATTRIBUTE_FORMAT_PRINTF, except that it indicates to GCC that the supported format string directives are the ones of the system printf(), rather than the ones standardized by ISO C99 and POSIX.


Definition at line 87 of file stdio.in.h.

◆ _GL_ATTRIBUTE_FORMAT_SCANF

#define _GL_ATTRIBUTE_FORMAT_SCANF (   formatstring_parameter,
  first_argument 
)     _GL_ATTRIBUTE_FORMAT ((__scanf__, formatstring_parameter, first_argument))

_GL_ATTRIBUTE_FORMAT_SCANF indicates to GCC that the function takes a format string and arguments, where the format string directives are the ones standardized by ISO C99 and POSIX.


Definition at line 98 of file stdio.in.h.

◆ _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM

#define _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM (   formatstring_parameter,
  first_argument 
)     _GL_ATTRIBUTE_FORMAT ((__scanf__, formatstring_parameter, first_argument))

_GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM is like _GL_ATTRIBUTE_FORMAT_SCANF, except that it indicates to GCC that the supported format string directives are the ones of the system scanf(), rather than the ones standardized by ISO C99 and POSIX.


Definition at line 106 of file stdio.in.h.

◆ _GL_STDIO_MACROEXPAND_AND_STRINGIZE

#define _GL_STDIO_MACROEXPAND_AND_STRINGIZE (   token)    _GL_STDIO_STRINGIZE(token)

Definition at line 125 of file stdio.in.h.

◆ _GL_STDIO_STRINGIZE

#define _GL_STDIO_STRINGIZE (   token)    #token

Solaris 10 declares renameat in <unistd.h>, not in <stdio.h>.


But in any case avoid namespace pollution on glibc systems.
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.
Macros for stringification.

Definition at line 124 of file stdio.in.h.