Structural commands
structcmd.h
Go to the documentation of this file.
1 
51 #define MAX(a,b) (((a)>(b))?(a):(b))
52 typedef unsigned int UINT32;
53 int errno;
54 int open(const char *,int);
55 int close(int);
56 size_t write(int,const char *, size_t);
57 int read(int,char *,size_t);
int open(const char *, int)
Opens a file descriptor.
size_t write(int, const char *, size_t)
Writes count bytes from buf to the filedescriptor fd.
int errno
Contains the last error code.
Definition: structcmd.h:53
int close(int)
Closes the file descriptor fd.
int read(int, char *, size_t)
Read bytes from a file descriptor.
unsigned int UINT32
A type definition for a .
Definition: structcmd.h:52