doxygen-test-project/c++/structcmd.h文件参考
A Documented file. 更多...
宏定义 | |
| #define | MAX(a, b) (((a)>(b))?(a):(b)) |
| A macro that returns the maximum of a and b. | |
类型定义 | |
| typedef unsigned int | UINT32 |
| A type definition for a . | |
函数 | |
| int | open (const char *, int) |
| Opens a file descriptor. | |
| int | close (int) |
| Closes the file descriptor fd. | |
| size_t | write (int, const char *, size_t) |
| Writes count bytes from buf to the filedescriptor fd. | |
| int | read (int, char *, size_t) |
| Read bytes from a file descriptor. | |
变量 | |
| int | errno |
| Contains the last error code. | |
详细描述
A Documented file.
Details.
宏定义文档
| #define MAX | ( | a, | |||
| b | ) | (((a)>(b))?(a):(b)) |
A macro that returns the maximum of a and b.
Details.
类型定义文档
| typedef unsigned int UINT32 |
A type definition for a .
Details.
函数文档
| int close | ( | int | fd | ) |
Closes the file descriptor fd.
- 参数:
-
fd The descriptor to close.
| int open | ( | const char * | pathname, | |
| int | flags | |||
| ) |
Opens a file descriptor.
- 参数:
-
pathname The name of the descriptor. flags Opening flags.
| 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.
| 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 errno |
Contains the last error code.
- 警告:
- Not thread safe!
Generated at 12 Jan 2015 by
1.6.1

