root/tags/omega-1.0.0-rc2/tools/daemon/receive_data.h
| Revision 154, 308 bytes (checked in by malte, 2 years ago) |
|---|
| Line | |
|---|---|
| 1 | #ifndef _RECEIVE_DATA_H |
| 2 | |
| 3 | #define _RECEIVE_DATA_H |
| 4 | |
| 5 | #include <sys/types.h> |
| 6 | |
| 7 | #include <unistd.h> |
| 8 | |
| 9 | #include <errno.h> |
| 10 | |
| 11 | #define MSG_ERROR_EINTR 10007 |
| 12 | |
| 13 | extern char *message(int message_number); |
| 14 | |
| 15 | extern void say(char *format, char *message); |
| 16 | |
| 17 | int receive_data(int fd, char *dest, size_t n); |
| 18 | |
| 19 | #else |
| 20 | # |
| 21 | #endif |
Note: See TracBrowser
for help on using the browser.
