php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
cast.c File Reference
#include "php.h"
#include "php_globals.h"
#include "php_network.h"
#include "php_open_temporary_file.h"
#include "ext/standard/file.h"
#include <stddef.h>
#include <fcntl.h>
#include "php_streams_int.h"

Go to the source code of this file.

Macros

#define _GNU_SOURCE
 

Functions

void php_stream_mode_sanitize_fdopen_fopencookie (php_stream *stream, char *result)
 
PHPAPI int _php_stream_cast (php_stream *stream, int castas, void **ret, int show_err)
 
PHPAPI FILE * _php_stream_open_wrapper_as_file (char *path, char *mode, int options, zend_string **opened_path STREAMS_DC)
 
PHPAPI int _php_stream_make_seekable (php_stream *origstream, php_stream **newstream, int flags STREAMS_DC)
 

Macro Definition Documentation

◆ _GNU_SOURCE

#define _GNU_SOURCE

Definition at line 18 of file cast.c.

Function Documentation

◆ _php_stream_cast()

PHPAPI int _php_stream_cast ( php_stream * stream,
int castas,
void ** ret,
int show_err )

Definition at line 194 of file cast.c.

◆ _php_stream_make_seekable()

PHPAPI int _php_stream_make_seekable ( php_stream * origstream,
php_stream ** newstream,
int flags STREAMS_DC )

Definition at line 373 of file cast.c.

◆ _php_stream_open_wrapper_as_file()

PHPAPI FILE * _php_stream_open_wrapper_as_file ( char * path,
char * mode,
int options,
zend_string **opened_path STREAMS_DC )

Definition at line 350 of file cast.c.

◆ php_stream_mode_sanitize_fdopen_fopencookie()

void php_stream_mode_sanitize_fdopen_fopencookie ( php_stream * stream,
char * result )

Definition at line 151 of file cast.c.