Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

AFIO single page cheat sheet for the very impatient

Boost.AFIO version 1.4 provides the following operations:

Operation

Asynchronous batch dispatcher functions

Synchronous handle functions

Asynchronous free functions

Synchronous free functions

Related types

Open/create a directory: dir()

1

2

4

path_req

Delete a directory: rmdir()

1

2

4

path_req

Open/create a file: file()

1

2

4

path_req

Delete a file: rmfile()

1

2

4

path_req

Open/create a symlink: symlink()

1

2

4

path_req

Delete a symlink: rmsymlink()

1

2

4

path_req

Synchronise changes to physical storage: sync()

1

1

2

Deallocate/zero physical storage: zero()

1

1

2

Close a fd/handle: close()

1

1

2

Scatter read file contents: read()

1

2

4

io_req

Gather write file contents: write()

1

2

4

io_req

Set maximum file extent: truncate()

1

1

2

Enumerate directory contents/ fetch file metadata: enumerate()

1

3

6

enumerate_req, directory_entry, stat_t

Enumerate file physical storage extents: extents()

1

1

2

Examine mounted storage volume: statfs()

1

1

2

statfs_t

Get current path of an open fd/handle even if other processes are renaming it (Linux, Windows; FreeBSD directories only; not OS X): path()

2

path

Get open fd/handle metadata: direntry(), lstat()

2

directory_entry, stat_t

Get target path of a symlink: target()

1

Map a read-only file into memory: try_mapfile()

1

Hard link an open fd/handle to a new path: link()

1

path_req

Unlink an open fd/handle from its existing path (caution!): unlink()

1

path_req

Strong guaranteed atomically relink an open fd/handle from its existing path to a different path: atomic_relink()

1

path_req

Planned new operations coming next version of AFIO so you know what's coming next:


PrevUpHomeNext