File list   File Members  

structcmd.h File Reference

A Documented file. More...

Defines

Typedefs

Functions

Variables


Detailed Description

A Documented file.

Details.


Define Documentation

#define MAX(a,b)

A macro that returns the maximum of a and b.

Details.


Typedef Documentation

typedef unsigned int UINT32

A type definition for a .

Details.


Function Documentation

int open(const char *pathname,int flags)

Opens a file descriptor.

Parameters:
pathname - The name of the descriptor.
flags - Opening flags.

int close(int fd)

Closes the file descriptor fd.

Parameters:
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.

Parameters:
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.

Parameters:
fd - The descriptor to read from.
buf - The buffer to read into.
count - The number of bytes to read.


Variable Documentation

int errno

Contains the last error code.

Warning:
Not thread safe!


Generated at Mon May 17 14:54:09 1999 for Structural commands by doxygen  written by Dimitri van Heesch, © 1997-1998