Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

system.h File Reference

#include <sys/stat.h>
#include <sys/param.h>
#include <unistd.h>
#include <limits.h>
#include "pathmax.h"
#include <sys/time.h>
#include <time.h>
#include <utime.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include <fcntl.h>
#include <dirent.h>
#include "sys2.h"
#include <strings.h>
#include <sys/file.h>

Include dependency graph for system.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

struct  utimbuf

Defines

#define mkfifo(path, mode)   (mknod ((path), (mode) | S_IFIFO, 0))
#define STDIN_FILENO   0
#define STDOUT_FILENO   1
#define STDERR_FILENO   2
#define major(dev)   (((dev) >> 8) & 0xff)
#define minor(dev)   ((dev) & 0xff)
#define makedev(maj, min)   (((maj) << 8) | (min))
#define EXIT_FAILURE   1
#define EXIT_SUCCESS   0
#define SEEK_SET   0
#define SEEK_CUR   1
#define SEEK_END   2
#define F_OK   0
#define X_OK   1
#define W_OK   2
#define R_OK   4
#define SET_BINARY(f)   (void)0
#define SET_BINARY2(f1, f2)   (void)0
#define O_BINARY   0
#define O_TEXT   0
#define dirent   direct
#define NLENGTH(direct)   ((direct)->d_namlen)
#define CLOSEDIR(d)   closedir (d)
#define DEV_BSIZE   4096
#define ST_BLKSIZE(statbuf)   DEV_BSIZE
#define ST_NBLOCKS(statbuf)
#define ST_NBLOCKSIZE   512

Variables

int errno


Define Documentation

#define mkfifo path,
mode       (mknod ((path), (mode) | S_IFIFO, 0))
 

#define STDIN_FILENO   0
 

#define STDOUT_FILENO   1
 

#define STDERR_FILENO   2
 

#define major dev       (((dev) >> 8) & 0xff)
 

#define minor dev       ((dev) & 0xff)
 

#define makedev maj,
min       (((maj) << 8) | (min))
 

#define EXIT_FAILURE   1
 

#define EXIT_SUCCESS   0
 

#define SEEK_SET   0
 

#define SEEK_CUR   1
 

#define SEEK_END   2
 

#define F_OK   0
 

#define X_OK   1
 

#define W_OK   2
 

#define R_OK   4
 

#define SET_BINARY      (void)0
 

#define SET_BINARY2 f1,
f2       (void)0
 

#define O_BINARY   0
 

#define O_TEXT   0
 

#define dirent   direct
 

#define NLENGTH direct       ((direct)->d_namlen)
 

#define CLOSEDIR      closedir (d)
 

#define DEV_BSIZE   4096
 

#define ST_BLKSIZE statbuf       DEV_BSIZE
 

#define ST_NBLOCKS statbuf   
 

Value:

(S_ISREG ((statbuf).st_mode) \
   || S_ISDIR ((statbuf).st_mode) \
   ? (statbuf).st_size / ST_NBLOCKSIZE + ((statbuf).st_size % ST_NBLOCKSIZE != 0) : 0)

#define ST_NBLOCKSIZE   512
 


Variable Documentation

int errno
 


Generated on Mon Apr 7 19:42:53 2003 for DuTree by doxygen1.2.18