Structural commands: structcmd.h Source File

Structural commands

- Main Page
- Files

- File List
- File Members

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);
open
int open(const char *, int)
Opens a file descriptor.
write
size_t write(int, const char *, size_t)
Writes count bytes from buf to the filedescriptor fd.
errno
int errno
Contains the last error code.
Definition: structcmd.h:53
close
int close(int)
Closes the file descriptor fd.
read
int read(int, char *, size_t)
Read bytes from a file descriptor.
UINT32
unsigned int UINT32
A type definition for a .
Definition: structcmd.h:52