posix.h File Reference

#include <posix/fdesc.h>
#include <posix/dir.h>
#include <posix/fork.h>
#include <posix/nlist.h>
#include <posix/sig.h>
#include <posix/execve.h>
#include <posix/gethostname.h>
#include <posix/mmap.h>

Go to the source code of this file.


#define __POSIX_POSIX_H__   1
#define PATH_MAX   1024


pid_t getpid (void)
pid_t getppid (void)
int setpgrp (pid_t pid, pid_t pgrp)
pid_t getpgrp ()
pid_t getpgid (pid_t pid)
int getrlimit (int resource, struct rlimit *rlp)
int setrlimit (int resource, const struct rlimit *rlp)
int kill (pid_t pid, int signum)
int raise (int signum)
int killpg (pid_t pgrp, int sig)
int pause (void)
int nice (int incr)
int access (const char *path, int mode)
int chdir (const char *path)
int chmod (const char *path, mode_t mode)
int close (int)
int creat (const char *path, mode_t mode)
int dup (int oldd)
int dup2 (int oldd, int newd)
int fchdir (int fd)
int fchmod (int d, mode_t mode)
int fcntl (int fd, int cmd,...)
int fstat (int fd, struct stat *sb)
int ftruncate (int d, off_t length)
int ioctl (int d, unsigned long request, void *argp)
int isatty (int d)
int link (const char *path1, const char *path2)
int symlink (const char *name1, const char *name2)
int lstat (const char *path, struct stat *sb)
int mount (const char *type, const char *dir, int flags, void *data)
int open_i (int gate, const char *path, int flags, mode_t mode)
int open (const char *path, int flags,...)
int readlink (const char *path, char *buf, size_t bufsiz)
int rename (char *oldpath, char *newpath)
int stat (const char *path, struct stat *sb)
int truncate (const char *path, off_t length)
int umount (const char *dir)
int unlink (const char *path)
mode_t umask (mode_t numask)
off_t lseek (int d, off_t offset, int whence)
ssize_t read (int, void *, size_t)
ssize_t readv (int, struct iovec *, int)
ssize_t write (int, const void *, size_t)
ssize_t writev (int, const struct iovec *, int)
int chown (const char *path, uid_t owner, gid_t group)
int lchown (const char *path, uid_t owner, gid_t group)
int fchown (int fd, uid_t owner, gid_t group)
int utimes (const char *path, const struct timeval *times)
int lutimes (const char *path, const struct timeval *times)
int futimes (int fd, const struct timeval *times)
int utime (const char *file, const struct utimbuf *timep)
int geterr (int fd)
int gethostname (char *name, size_t namelen)
int sethostname (const char *name, size_t namelen)
int getdomainname (char *name, size_t namelen)
int setdomainname (const char *name, size_t namelen)
char * getprogname (void)
void setprogname (const char *s)
const char * strerror (int err)
void abort (void)
int getdtablesize ()

Define Documentation

#define __POSIX_POSIX_H__   1

#define PATH_MAX   1024

Function Documentation

void abort void   ) 

int access const char *  path,
int  mode

int chdir const char *  path  ) 

int chmod const char *  path,
mode_t  mode

int chown const char *  path,
uid_t  owner,
gid_t  group

int close int   ) 

int creat const char *  path,
mode_t  mode

int dup int  oldd  ) 

int dup2 int  oldd,
int  newd

int fchdir int  fd  ) 

int fchmod int  d,
mode_t  mode

int fchown int  fd,
uid_t  owner,
gid_t  group

int fcntl int  fd,
int  cmd,

int fstat int  fd,
struct stat sb

int ftruncate int  d,
off_t  length

int futimes int  fd,
const struct timeval times

int getdomainname char *  name,
size_t  namelen

int getdtablesize  ) 

int geterr int  fd  ) 

int gethostname char *  name,
size_t  namelen

pid_t getpgid pid_t  pid  ) 

pid_t getpgrp  ) 

pid_t getpid void   ) 

pid_t getppid void   ) 

char* getprogname void   ) 

int getrlimit int  resource,
struct rlimit rlp

int ioctl int  d,
unsigned long  request,
void *  argp

int isatty int  d  ) 

int kill pid_t  pid,
int  signum

int killpg pid_t  pgrp,
int  sig

int lchown const char *  path,
uid_t  owner,
gid_t  group

int link const char *  path1,
const char *  path2

off_t lseek int  d,
off_t  offset,
int  whence

int lstat const char *  path,
struct stat sb

int lutimes const char *  path,
const struct timeval times

int mount const char *  type,
const char *  dir,
int  flags,
void *  data

int nice int  incr  ) 

int open const char *  path,
int  flags,

posix emulation

int open_i int  gate,
const char *  path,
int  flags,
mode_t  mode

int pause void   ) 

int raise int  signum  ) 

ssize_t read int  ,
void *  ,

int readlink const char *  path,
char *  buf,
size_t  bufsiz

ssize_t readv int  d,
struct iovec iov,
int  iovcnt

POSIX read vector emulated call, no need in nanokernel

int rename char *  oldpath,
char *  newpath

int setdomainname const char *  name,
size_t  namelen

int sethostname const char *  name,
size_t  namelen

int setpgrp pid_t  pid,
pid_t  pgrp

void setprogname const char *  s  ) 

int setrlimit int  resource,
const struct rlimit rlp

int stat const char *  path,
struct stat sb

const char* strerror int  err  ) 

int symlink const char *  name1,
const char *  name2

int truncate const char *  path,
off_t  length

mode_t umask mode_t  numask  ) 

int umount const char *  dir  ) 

int unlink const char *  path  ) 

int utime const char *  file,
const struct utimbuf timep

int utimes const char *  path,
const struct timeval times

ssize_t write int  ,
const void *  ,

ssize_t writev int  ,
const struct iovec ,

Generated on Wed May 24 23:05:57 2006 for LSE/OS by  doxygen 1.4.6