Defines | |||
![]() | ![]() | #define | MAX (a,b) |
![]() | ![]() | A macro that returns the maximum of a and b. More... | |
Typedefs | |||
![]() | ![]() | typedef unsigned int | UINT32 |
![]() | ![]() | A type definition for a . More... | |
Functions | |||
![]() | ![]() | int | open (const char *,int) |
![]() | ![]() | Opens a file descriptor. More... | |
![]() | ![]() | int | close (int) |
![]() | ![]() | Closes the file descriptor fd. More... | |
![]() | ![]() | size_t | write (int,const char *, size_t) |
![]() | ![]() | Writes count bytes from buf to the filedescriptor fd. More... | |
![]() | ![]() | int | read (int,char *,size_t) |
![]() | ![]() | Read bytes from a file descriptor. More... | |
Variables | |||
![]() | ![]() | int | errno |
![]() | ![]() | Contains the last error code. More... | |
Details.
| #define MAX (a, b) |
A macro that returns the maximum of a and b.
Details.
| typedef unsigned int UINT32 |
A type definition for a .
Details.
| int open (const char * pathname, int flags) |
Opens a file descriptor.
| pathname | The name of the descriptor. |
| flags | Opening flags. |
| int close (int fd) |
Closes the file descriptor fd.
| fd | The descriptor to close. |
| size_t write (int fd, const char * buf, size_t count) |
Writes count bytes from buf to the filedescriptor fd.
| fd | The descriptor to write to. |
| buf | The data buffer to write. |
| count | The number of bytes to write. |
| int read (int fd, char * buf, size_t count) |
Read bytes from a file descriptor.
| fd | The descriptor to read from. |
| buf | The buffer to read into. |
| count | The number of bytes to read. |
| int errno |
Contains the last error code.
1.0.0 written by Dimitri van Heesch,
© 1997-1999