nio.h File Reference

#include <sys/ipc.h>
#include <sys/shm.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
#include <fcntl.h>

Go to the source code of this file.

Classes

struct  niocb

Enumerations

enum  nio_op {
  NIO_INVALID = 0, NIO_OPEN, NIO_CLOSE, NIO_READ,
  NIO_WRITE, NIO_LSEEK, NIO_OPENDIR, NIO_CLOSEDIR,
  NIO_REWINDDIR, NIO_READDIR, NIO_TELLDIR, NIO_LINK,
  NIO_SYMLINK, NIO_UNLINK, NIO_RENAME, NIO_FCNTL,
  NIO_STAT, NIO_FSTAT, NIO_LSTAT, NIO_FDATASYNC,
  NIO_FSYNC, NIO_TRUNCATE, NIO_FTRUNCATE, NIO_GETADDRINFO,
  NIO_GETNAMEINFO
}

Functions

int nio_open (struct niocb *cb, const char *path, int flags, mode_t mode)
int nio_close (struct niocb *cb, int fd)
int nio_read (struct niocb *cb, int fd, size_t count)
int nio_write (struct niocb *cb, int fd, const void *buf, size_t count)
int nio_lseek (struct niocb *cb, int fd, off_t offset, int whence)
int nio_opendir (struct niocb *cb, const char *name)
int nio_closedir (struct niocb *cb, DIR *dir)
int nio_rewinddir (struct niocb *cb, DIR *dir)
int nio_readdir (struct niocb *cb, DIR *dir)
int nio_telldir (struct niocb *cb, DIR *dir)
int nio_link (struct niocb *cb, const char *oldpath, const char *newpath)
int nio_symlink (struct niocb *cb, const char *oldpath, const char *newpath)
int nio_unlink (struct niocb *cb, const char *path)
int nio_rename (struct niocb *cb, const char *oldpath, const char *newpath)
int nio_fcntl (struct niocb *cb, int fd, int op, const struct flock *fl)
int nio_stat (struct niocb *cb, const char *path)
int nio_fstat (struct niocb *cb, int fd)
int nio_lstat (struct niocb *cb, const char *path)
int nio_fdatasync (struct niocb *cb, int fd)
int nio_fsync (struct niocb *cb, int fd)
int nio_truncate (struct niocb *cb, const char *path, off_t length)
int nio_ftruncate (struct niocb *cb, int fd, off_t length)
int nio_getaddrinfo (struct niocb *cb, const char *node, const char *service, const struct addrinfo *hints, struct addrinfo **res)
int nio_getnameinfo (struct niocb *cb, const struct sockaddr *sa, socklen_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags)


Detailed Description

Nonblocking I/O library.

Definition in file nio.h.


Generated on Wed Aug 22 23:15:42 2007 for pnotify by  doxygen 1.5.1