gsasl  1.10.0
About: GNU SASL is an implementation of the Simple Authentication and Security Layer (SASL). Development version.
  Fossies Dox: gsasl-1.10.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

fopen.c File Reference
#include <config.h>
#include <stdio.h>
#include <errno.h>
#include <fcntl.h>
#include <stdbool.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
Include dependency graph for fopen.c:

Go to the source code of this file.




static FILE * orig_fopen (const char *filename, const char *mode)
FILE * rpl_fopen (const char *filename, const char *mode)

Macro Definition Documentation



Definition at line 22 of file fopen.c.

Function Documentation

◆ orig_fopen()

static FILE* orig_fopen ( const char *  filename,
const char *  mode 

Definition at line 30 of file fopen.c.

Referenced by rpl_fopen().

◆ rpl_fopen()

FILE* rpl_fopen ( const char *  filename,
const char *  mode 

Definition at line 49 of file fopen.c.

References NULL, O_BINARY, O_CLOEXEC, open(), orig_fopen(), p, S_IRGRP, S_IROTH, S_IRUSR, S_ISDIR, S_IWGRP, S_IWOTH, and S_IWUSR.