#include <assert.h>
#include <stdlib.h>
#include <direct.h>
#include <errno.h>
#include <fcntl.h>
#include <io.h>
#include <limits.h>
#include <sys/stat.h>
#include <sys/utime.h>
#include <stdio.h>
#include "php.h"
#include "SAPI.h"
#include "win32/winutil.h"
#include "win32/time.h"
#include "win32/ioutil.h"
#include "win32/codepage.h"
#include "main/streams/php_stream_plain_wrapper.h"
#include <pathcch.h>
#include <winioctl.h>
#include <winnt.h>
Go to the source code of this file.
|
typedef HRESULT(__stdcall * | MyPathCchCanonicalizeEx) (wchar_t *pszPathOut, size_t cchPathOut, const wchar_t *pszPathIn, unsigned long dwFlags) |
|
|
PW32IO BOOL | php_win32_ioutil_posix_to_open_opts (int flags, mode_t mode, php_ioutil_open_opts *opts) |
|
PW32IO int | php_win32_ioutil_open_w (const wchar_t *path, int flags,...) |
|
PW32IO int | php_win32_ioutil_close (int fd) |
|
PW32IO int | php_win32_ioutil_mkdir_w (const wchar_t *path, mode_t mode) |
|
PW32IO int | php_win32_ioutil_unlink_w (const wchar_t *path) |
|
PW32IO int | php_win32_ioutil_rmdir_w (const wchar_t *path) |
|
PW32IO int | php_win32_ioutil_chdir_w (const wchar_t *path) |
|
PW32IO int | php_win32_ioutil_rename_w (const wchar_t *oldname, const wchar_t *newname) |
|
PW32IO wchar_t * | php_win32_ioutil_getcwd_w (wchar_t *buf, size_t len) |
|
PW32IO size_t | php_win32_ioutil_dirname (char *path, size_t len) |
|
PW32IO php_win32_ioutil_normalization_result | php_win32_ioutil_normalize_path_w (wchar_t **buf, size_t len, size_t *new_len) |
|
BOOL | php_win32_ioutil_init (void) |
|
PW32IO int | php_win32_ioutil_access_w (const wchar_t *path, mode_t mode) |
|
PW32IO FILE * | php_win32_ioutil_fopen_w (const wchar_t *path, const wchar_t *mode) |
|
PW32IO wchar_t * | php_win32_ioutil_realpath_w (const wchar_t *path, wchar_t *resolved) |
|
PW32IO wchar_t * | php_win32_ioutil_realpath_w_ex0 (const wchar_t *path, wchar_t *resolved, PBY_HANDLE_FILE_INFORMATION info) |
|
PW32IO char * | realpath (const char *path, char *resolved) |
|
PW32IO int | php_win32_ioutil_symlink_w (const wchar_t *target, const wchar_t *link) |
|
PW32IO int | php_win32_ioutil_link_w (const wchar_t *target, const wchar_t *link) |
|
PW32IO int | php_win32_ioutil_stat_ex_w (const wchar_t *path, size_t path_len, php_win32_ioutil_stat_t *buf, int lstat) |
|
PW32IO int | php_win32_ioutil_fstat (int fd, php_win32_ioutil_stat_t *buf) |
|
PW32IO ssize_t | php_win32_ioutil_readlink_w (const wchar_t *path, wchar_t *buf, size_t buf_len) |
|
◆ FILETIME_TO_TIME_T
#define FILETIME_TO_TIME_T |
( |
| filetime | ) |
|
Value:
#define FILETIME_TO_UINT(filetime)
Definition at line 855 of file ioutil.c.
◆ FILETIME_TO_UINT
#define FILETIME_TO_UINT |
( |
| filetime | ) |
|
Value: (*((uint64_t*) &(filetime)) - 116444736000000000ULL)
Definition at line 852 of file ioutil.c.
◆ MyPathCchCanonicalizeEx
typedef HRESULT(__stdcall * MyPathCchCanonicalizeEx) (wchar_t *pszPathOut, size_t cchPathOut, const wchar_t *pszPathIn, unsigned long dwFlags) |
◆ php_win32_ioutil_access_w()
PW32IO int php_win32_ioutil_access_w |
( |
const wchar_t * | path, |
|
|
mode_t | mode ) |
◆ php_win32_ioutil_chdir_w()
PW32IO int php_win32_ioutil_chdir_w |
( |
const wchar_t * | path | ) |
|
◆ php_win32_ioutil_close()
PW32IO int php_win32_ioutil_close |
( |
int | fd | ) |
|
◆ php_win32_ioutil_dirname()
PW32IO size_t php_win32_ioutil_dirname |
( |
char * | path, |
|
|
size_t | len ) |
◆ php_win32_ioutil_fopen_w()
PW32IO FILE * php_win32_ioutil_fopen_w |
( |
const wchar_t * | path, |
|
|
const wchar_t * | mode ) |
◆ php_win32_ioutil_fstat()
◆ php_win32_ioutil_getcwd_w()
PW32IO wchar_t * php_win32_ioutil_getcwd_w |
( |
wchar_t * | buf, |
|
|
size_t | len ) |
◆ php_win32_ioutil_init()
◆ php_win32_ioutil_link_w()
PW32IO int php_win32_ioutil_link_w |
( |
const wchar_t * | target, |
|
|
const wchar_t * | link ) |
◆ php_win32_ioutil_mkdir_w()
PW32IO int php_win32_ioutil_mkdir_w |
( |
const wchar_t * | path, |
|
|
mode_t | mode ) |
◆ php_win32_ioutil_normalize_path_w()
◆ php_win32_ioutil_open_w()
PW32IO int php_win32_ioutil_open_w |
( |
const wchar_t * | path, |
|
|
int | flags, |
|
|
| ... ) |
◆ php_win32_ioutil_posix_to_open_opts()
◆ php_win32_ioutil_readlink_w()
PW32IO ssize_t php_win32_ioutil_readlink_w |
( |
const wchar_t * | path, |
|
|
wchar_t * | buf, |
|
|
size_t | buf_len ) |
◆ php_win32_ioutil_realpath_w()
PW32IO wchar_t * php_win32_ioutil_realpath_w |
( |
const wchar_t * | path, |
|
|
wchar_t * | resolved ) |
◆ php_win32_ioutil_realpath_w_ex0()
PW32IO wchar_t * php_win32_ioutil_realpath_w_ex0 |
( |
const wchar_t * | path, |
|
|
wchar_t * | resolved, |
|
|
PBY_HANDLE_FILE_INFORMATION | info ) |
◆ php_win32_ioutil_rename_w()
PW32IO int php_win32_ioutil_rename_w |
( |
const wchar_t * | oldname, |
|
|
const wchar_t * | newname ) |
◆ php_win32_ioutil_rmdir_w()
PW32IO int php_win32_ioutil_rmdir_w |
( |
const wchar_t * | path | ) |
|
◆ php_win32_ioutil_stat_ex_w()
◆ php_win32_ioutil_symlink_w()
PW32IO int php_win32_ioutil_symlink_w |
( |
const wchar_t * | target, |
|
|
const wchar_t * | link ) |
◆ php_win32_ioutil_unlink_w()
PW32IO int php_win32_ioutil_unlink_w |
( |
const wchar_t * | path | ) |
|
◆ realpath()
PW32IO char * realpath |
( |
const char * | path, |
|
|
char * | resolved ) |