Apache HTTPD
Macros | Functions
copy.c File Reference
#include "apr_arch_file_io.h"
#include "apr_file_io.h"

Go to the source code of this file.

Macros

#define COPY_BUFSIZ   APR_FILE_DEFAULT_BUFSIZE
 

Functions

static apr_status_t apr_file_transfer_contents (const char *from_path, const char *to_path, apr_int32_t flags, apr_fileperms_t to_perms, apr_pool_t *pool)
 
 APR_DECLARE (apr_status_t)
 

Macro Definition Documentation

◆ COPY_BUFSIZ

#define COPY_BUFSIZ   APR_FILE_DEFAULT_BUFSIZE

Function Documentation

◆ apr_file_transfer_contents()

static apr_status_t apr_file_transfer_contents ( const char from_path,
const char to_path,
apr_int32_t  flags,
apr_fileperms_t  to_perms,
apr_pool_t pool 
)
static

< Open the file for reading

< use OS's default permissions

<

Deprecated:
See also
APR_FPROT_OS_DEFAULT

< Copy source file's permissions

<

Deprecated:
See also
APR_FPROT_FILE_SOURCE_PERMS

< all protections

Definition at line 20 of file copy.c.