stdio.h File Reference
#include <cstdio>
Include dependency graph for stdio.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MAXPATHLEN   SQUID_MAXPATHLEN
 

Macro Definition Documentation

◆ MAXPATHLEN

#define MAXPATHLEN   SQUID_MAXPATHLEN

64-bit broken <cstdio>

<stdio.h> provides fgetpos64, fopen64 if USE_FILE_OFFSET64 is defined. It then checks whether a gcc-specific __REDIRECT macro is available (defined in <sys/cdefs.h>, depending on __GNUC begin available). If it is not available, it does a preprocessor #define. Which <cstdio> undefines, with this comment: "// Get rid of those macros defined in <stdio.h> in lieu of real functions.". When it does a namespace redirection ("namespace std { using ::fgetpos; }") it goes blam, as fgetpos64 is available, while fgetpos is not.

Definition at line 62 of file stdio.h.

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors