|
|
| version 1.1.1.2, 2014/06/15 20:20:06 | version 1.1.1.3, 2016/11/02 10:35:00 |
|---|---|
| Line 1 | Line 1 |
| #ifndef _LOG_H_ | #ifndef _LOG_H_ |
| #define _LOG_H_ | #define _LOG_H_ |
| #include "first.h" | |
| #include "server.h" | #include "server.h" |
| struct timespec; /* declaration */ | |
| int log_clock_gettime_realtime (struct timespec *ts); | |
| ssize_t write_all(int fd, const void* buf, size_t count); | |
| /* Close fd and _try_ to get a /dev/null for it instead. | /* Close fd and _try_ to get a /dev/null for it instead. |
| * Returns 0 on success and -1 on failure (fd gets closed in all cases) | * Returns 0 on success and -1 on failure (fd gets closed in all cases) |