# Spec SyncFile
File structure supporting synchronous input/output access.

Extends | File
All Extended | File
Defined in | <seqan/file.h>
Signature | `template <[typename TSpec]> class File<Sync<TSpec> >;`

## Template Parameters

`TSpec` | Further specializing type. Default: `void`.

## Interface Function Overview

### Interface Functions Inherited From File

- `asyncReadAt`
- `asyncWriteAt`
- `cancel`
- `close`
- `flush`
- `length`
- `open`
- `openTemp`
- `read`
- `readAt`
- `resize`
- `rewind`
- `seek`
- `setEof`
- `tell`
- `waitFor`
- `write`
- `writeAt`

## Detailed Description

This class supports pseudo-asynchronous access methods, i.e. the method to initiate an I/O request blocks until the request completion.

#### Dox Sources

    /*!
     * @class SyncFile
     *
     * @extends File
     *
     * @headerfile <seqan/file.h>
     *
     * @brief File structure supporting synchronous input/output access.
     *
     * @signature template <[typename TSpec]> class File<Sync<TSpec> >;
     *
     * @tparam TSpec Further specializing type. Default: <tt>void</tt>.
     *
     * This class supports pseudo-asynchronous access methods, i.e. the method to
     * initiate an I/O request blocks until the request completion.
     */