unix.c File Reference

#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <fcntl.h>
#include <unistd.h>
#include "libjio.h"
#include "common.h"
#include "trans.h"

Include dependency graph for unix.c:

Go to the source code of this file.

Functions

ssize_t jread (struct jfs *fs, void *buf, size_t count)
 Read from the file.
ssize_t jpread (struct jfs *fs, void *buf, size_t count, off_t offset)
 Read from the file at the given offset.
ssize_t jreadv (struct jfs *fs, const struct iovec *vector, int count)
 Read from the file into multiple buffers.
ssize_t jwrite (struct jfs *fs, const void *buf, size_t count)
 Write to the file.
ssize_t jpwrite (struct jfs *fs, const void *buf, size_t count, off_t offset)
 Write to the file at the given offset.
ssize_t jwritev (struct jfs *fs, const struct iovec *vector, int count)
 Write to the file from multiple buffers.
int jtruncate (struct jfs *fs, off_t length)
 Truncates the file to the given length.
off_t jlseek (struct jfs *fs, off_t offset, int whence)
 Reposition read/write file offset.


Generated on Sat Sep 12 13:33:33 2009 for libjio (internal) by  doxygen 1.5.8