boost::http_proto::file_stdio

An implementation of File which uses cstdio.

Synopsis

Declared in header <boost/http_proto/file_stdio.hpp>

class file_stdio;

Types

Name

Description

native_handle_type

The type of the underlying file handle.

Member Functions

Name

Description

close

Close the file if open

file_stdio [constructor]

Constructor

is_open

Returns true if the file is open

native_handle

Returns the native handle associated with the file.

Set the native handle associated with the file.

open

Open a file at the given path with the specified mode

operator=

Assignment

pos

Return the current position in the open file

read

Read from the open file

seek

Adjust the current position in the open file

size

Return the size of the open file

write

Write to the open file

~file_stdio [destructor]

Destructor

Description

This class implements a file using the interfaces present in the C++ Standard Library, in <stdio>.