ADT
ast-experimental
enum
pthread-emulation
qualifiedEnum
|
Last change
on this file since 8d76f2b was d9c2284, checked in by Thierry Delisle <tdelisle@…>, 5 years ago |
|
Started doing preliminary work to use Fixed FDs. Starting with the thread pipes.
|
-
Property mode
set to
100644
|
|
File size:
259 bytes
|
| Line | |
|---|
| 1 | #pragma once
|
|---|
| 2 |
|
|---|
| 3 | #include <stdint.h>
|
|---|
| 4 |
|
|---|
| 5 | struct cache_line {
|
|---|
| 6 | const char * file;
|
|---|
| 7 | size_t size;
|
|---|
| 8 | int fd;
|
|---|
| 9 | };
|
|---|
| 10 |
|
|---|
| 11 | [int fd, size_t size] get_file( * const char file, size_t len );
|
|---|
| 12 | void fill_cache( const char * path );
|
|---|
| 13 | [int *, int] filefds( int extra );
|
|---|
| 14 | void close_cache();
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.